* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


.member-link {
    text-decoration: none;
    color: inherit;
}

.team-member-link {
    text-decoration: none;
    color: inherit;
    display: block;
}



body {
    font-family: 'Nunito', sans-serif;
background-color: #0f172a;
    color: #e2e8f0;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.hero-image {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
    margin-bottom: -150px;
    z-index: -1;
}
.hero-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        rgba(15, 23, 42, 1) 0%, 
        rgba(15, 23, 42, 0) 20%, 
        rgba(15, 23, 42, 0) 80%, 
        rgba(15, 23, 42, 1) 100%);
    z-index: 1;
}
.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 30px;
    mask-image: linear-gradient(to bottom, 
        rgba(0,0,0,1) 0%, 
        rgba(0,0,0,1) 50%, 
        rgba(0,0,0,0) 100%);
}
@media (max-width: 768px) {
    .hero-image {
        height: 200px;
        margin-bottom: -100px;
    }
}
@media (max-width: 480px) {
    .hero-image {
        height: 100px;
        margin-bottom: -30px;
    }
}
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    position: relative;
    z-index: 1;
    margin-bottom: 30px;
}
.header__logo-link {
    font-size: 28px;
    font-weight: 700;
    color: #38bdf8;
    margin: 0;
    padding: 0;
    text-decoration: none;
    transition: color 0.3s;
}

.header__logo-link:hover {
    color: #7dd3fc;
}
.header__nav {
    display: flex;
    gap: 30px;
}

.header__nav a {
    color: #94a3b8;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.header__nav a.active {
    color: #38bdf8;
}

.header__nav a:hover {
    color: #e2e8f0;
}

.content {
    display: flex;
    gap: 30px;
}

.posts {
    flex: 2;
}
.post {
    background-color: #1e293b;
    border-radius: 30px;
    padding: 0;
    margin-bottom: 30px;
    overflow: hidden;
    display: flex;
}

.post-image {
    width: 200px;
    height: 200px;
    flex-shrink: 0;
}

.post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-content-wrapper {
    flex: 1;
    padding: 20px;
}
.post__header {
    padding: 0;
}

.post__content {
    padding: 0;
}
.post__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.post__header h2 {
    font-size: 22px;
    color: #f8fafc;
}

.post__date {
    color: #64748b;
    font-size: 14px;
}

.post__content p {
    margin-bottom: 15px;
}

.read-more {
    color: #38bdf8;
    text-decoration: none;
    font-weight: 500;
}

.read-more:hover {
    text-decoration: underline;
}

.sidebar {
    flex: 1;
}

.widget {
    background-color: #1e293b;
    border-radius: 30px;
    padding: 20px;
    margin-bottom: 20px;
}

.widget h3 {
    margin-bottom: 15px;
    color: #f8fafc;
}

.widget__content {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.widget__content img {
    width: 100%;
    border-radius: 30px;
}

.subscribe-btn {
    background-color: #38bdf8;
    color: #0f172a;
    border: none;
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
}

.subscribe-btn:hover {
    background-color: #7dd3fc;
}

.footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    margin-top: 50px;
    border-top: 1px solid #1e293b;
    color: #64748b;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-icon {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s;
}
.social-icon:hover {
    color: #38bdf8;
}
/* Pagination Styles */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 40px;
}

.pagination-link {
    color: white;
    text-decoration: none;
    width: 36px;
    height: 36px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.pagination-link.active {
    background-color: #64748b;
}

.pagination-link:hover:not(.active) {
    background-color: #334155;
}

.pagination-dots {
    color: white;
}

.pagination-next {
    color: white;
    text-decoration: none;
    padding: 5px 10px;
    border-radius: 30px;
}

/* Articles Page Styles */
.articles-container {
    padding: 20px 0;
}

.page-title {
font-size: 36px;
    color: #f8fafc;
    margin-bottom: 30px;
    text-align: center;
}
.articles-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

@media (max-width: 768px) {
    .articles-grid {
        grid-template-columns: 1fr;
    }
}
.article-card {
    display: flex;
    flex-direction: column;
    background-color: #1e293b;
    border-radius: 30px;
    overflow: hidden;
    transition: transform 0.3s ease;
    height: 100%;
}
.article-card:hover {
    transform: translateY(-5px);
}
.article-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}
.article-content {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
}
.article-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.article-header h2 {
    font-size: 20px;
    color: #f8fafc;
}

.article-date {
    color: #64748b;
    font-size: 14px;
}

.article-card p {
    margin-bottom: 15px;
    color: #94a3b8;
}
/* Article Page Styles */
.article-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.article-title {
    text-align: center;
    font-size: 36px;
    color: #f8fafc;
    margin: 30px 0 10px;
}

.article-date {
    display: block;
    text-align: center;
    color: #64748b;
    margin-bottom: 30px;
}

.article-monolith {
    background-color: #1e293b;
    border-radius: 30px;
    padding: 30px;
}

.article-monolith img {
    width: 100%;
    border-radius: 20px;
    margin: 20px 0;
    object-fit: cover;
}

.article-text {
    margin: 20px 0;
    line-height: 1.7;
}

.article-text p {
    margin-bottom: 20px;
}
/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
}

.modal-content {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 90%;
    max-height: 90%;
}

.modal-content img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 10px;
}

.close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1001;
}

.close:hover {
    color: #38bdf8;
}

/* About Page Styles */
.about-page {
    padding: 20px 0;
}

.about-section, .team-section {
    margin-bottom: 40px;
}

.about-section h2, .team-section h2 {
    font-size: 28px;
    color: #f8fafc;
    margin-bottom: 25px;
    text-align: center;
}

.about-content {
    display: flex;
    gap: 30px;
    align-items: center;
    margin-bottom: 30px;
}

.about-image {
    width: 50%;
    border-radius: 30px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}



.about-image-skrean {
    width: 20%;
    border-radius: 10px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    
}


.about-image-100g {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.1);
    
}


.about-text {
    flex: 1;
}

.about-text p {
    margin-bottom: 15px;
    line-height: 1.7;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.team-member {
    background-color: #1e293b;
    border-radius: 30px;
    padding: 20px;
    text-align: center;
}

.member-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 15px;
    border: 3px solid #38bdf8;
}

.team-member h3 {
    color: #f8fafc;
    margin-bottom: 5px;
}
.team-member p {
    color: #64748b;
    font-size: 14px;
}

.code-block {
    background-color: #1e293b;
    border-radius: 30px;
    padding: 25px;
    margin: 40px auto;
    max-width: 900px;
    position: relative;
}

.code-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.code-header h3 {
    color: #f8fafc;
    font-size: 20px;
}

.copy-btn {
    background-color: #38bdf8;
    color: #0f172a;
    border: none;
    padding: 8px 15px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background-color 0.3s;
}

.copy-btn:hover {
    background-color: #7dd3fc;
}

.copy-btn i {
    font-size: 14px;
}

pre {
    background-color: #0f172a;
    border-radius: 15px;
    padding: 20px;
    overflow-x: auto;
    margin: 0;
}

code {
    color: #e2e8f0;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    line-height: 1.5;
}
@media (max-width: 768px) {
    .article-card {
        flex-direction: column;
    }
    
    .article-image {
        width: 100%;
        border-radius: 30px 30px 0 0;
    }
    
    .about-content {
flex-direction: column;
    }
    
    .about-image {
        width: 100%;
    }
}
@media (max-width: 768px) {
    .content {
        flex-direction: column;
    }
    
    .header {
        flex-direction: column;
        gap: 20px;
    }
    
    .header__nav {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .post {
        flex-direction: column;
    }

    .post-image {
        width: 100%;
        height: 200px;
    }

}

