﻿
:root {
    --bg: #f5f6f7;
    --card: #ffffff;
    --text: #1f2937;
    --muted: #6b7280;
    --border: #e5e7eb;
    --brand: #303296;
    --shadow: 0 6px 18px rgba(0,0,0,.06);
    --radius: 10px;
    --container: 1400px;
    --font: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif
}

* {
    box-sizing: border-box
}

body {
    margin: 0;
    font-family: var(--font);
    color: var(--text);
    background: var(--bg);
    line-height: 1.6
}

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 10px
}
/* header from contact */
.header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0
}

.logo {
    height: 40px;
    display: flex;
    align-items: center
}

    .logo img {
        height: 100%;
        width: auto;
        max-height: 40px
    }

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem
}

    .nav-links a {
        text-decoration: none;
        color: #374151;
        font-weight: 500;
        display: flex;
        align-items: center;
        gap: .3rem
    }

        .nav-links a:hover, .nav-links a.active {
            color: var(--brand)
        }

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem
}

.nav-icon {
    font-size: 1.2rem;
    color: #374151;
    cursor: pointer
}

.search-icon {
    width: 16px;
    height: 16px;
    border: 2px solid #374151;
    border-radius: 50%;
    position: relative;
    cursor: pointer
}

    .search-icon::after {
        content: '';
        position: absolute;
        bottom: -4px;
        right: -4px;
        width: 6px;
        height: 2px;
        background: #374151;
        transform: rotate(45deg)
    }

.spacer {
    height: 80px
}

.page-head {
    padding: 28px 0 8px;
    margin-top: 24px
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text);
    margin-bottom: 20px
}

    .breadcrumb a {
        color: var(--text);
        text-decoration: none
    }

        .breadcrumb a:hover {
            color: var(--brand)
        }

.breadcrumb-separator {
    color: var(--muted);
    font-weight: normal
}

.breadcrumb-current {
    color: var(--muted);
    font-weight: 500
}

.list-card {
    background: var(--card);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 8px 0;
    overflow: hidden
}

.news-item {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 24px;
    padding: 24px;
    align-items: start
}

.news-thumb {
    width: 100%;
    aspect-ratio: 4/3;
    border-radius: 8px;
    overflow: hidden;
    background: #ddd
}

    .news-thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block
    }

.news-meta {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 0
}

.news-title {
    font-size: 22px;
    font-weight: 700;
    margin: 0
}

    .news-title a {
        color: inherit;
        text-decoration: none
    }

.news-excerpt {
    color: var(--muted);
    font-size: 14px
}

.news-date {
    color: #9ca3af;
    font-size: 13px
}

.divider {
    height: 1px;
    background: var(--border);
    margin: 0 24px
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 28px 0
}

.page-btn {
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    border: 1px solid var(--border);
    background: #fff;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--text);
    cursor: pointer;
    transition: .2s ease;
    user-select: none
}

    .page-btn:hover {
        border-color: #d1d5db;
        box-shadow: 0 2px 8px rgba(0,0,0,.06)
    }

    .page-btn.active {
        background: var(--brand);
        color: #fff;
        border-color: var(--brand)
    }

.page-input {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-left: 8px
}

    .page-input input {
        width: 80px;
        height: 36px;
        border: 1px solid var(--border);
        border-radius: 6px;
        padding: 0 10px;
        outline: none
    }

.page-go {
    height: 36px;
    padding: 0 12px;
    border: 1px solid var(--border);
    border-radius: 6px;
    background: #fff;
    cursor: pointer
}

.footer {
    background: #1f2937;
    color: #fff;
    padding: 3rem 0 2rem;
    /*margin-top: 60px;*/
}

.footer-container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 10px;
}

.footer-mission {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 3rem;
    color: rgba(204, 204, 204, 1);
    line-height: 1.6;
    max-width: 600px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-column h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #fff;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column li {
    margin-bottom: 0.5rem;
}

.footer-column a {
    color: #d1d5db;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

    .footer-column a:hover {
        color: #fff;
    }

.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.3s;
    overflow: hidden;
}

    .social-icon:hover {
        transform: scale(1.1);
    }

    .social-icon img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 50%;
    }

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #9ca3af;
    font-size: 0.9rem;
}






@media (max-width: 920px) {
    .news-item {
        grid-template-columns: 220px 1fr;
        gap: 16px;
        padding: 20px
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px
    }

    .news-item {
        grid-template-columns: 1fr
    }

    .news-thumb {
        aspect-ratio: 16/9
    }

    .nav-links {
        display: none
    }
}

