:root {
    --primary-color: #076983; 
    --primary-color-low: rgba(7, 105, 131, 0.5);
    --primary-color-dark: #054e60;

    --secondary-color: #3494ba; 
    --secondary-color-low: rgba(52, 148, 186, 0.5);
    --secondary-color-dark: #2683c6;

    --tertiary-color: #75bda7;
    --tertiary-color-low: rgba(117, 189, 167, 0.5);
    --tertiary-color-dark: #5ea98f;

    --bg-color: #e7e7e7;
    --bg-color-low: rgba(248, 249, 250, 0.5);
    --bg-color-dark: #e4e7eb;

    --text-dark: #2a2933;
    --text-dark-low: rgba(55, 53, 69, 0.7);
    --text-dark-dark: #292738;

    --text-light: #f8f9fa;
    --text-light-low: rgba(248, 249, 250, 0.7);
    --text-light-dark: #e1e4e6;

    --card-bg: #fcfcfc;
    --card-bg-low: #f3f2f2;
}

.blogs-page {
    width: 100%;
    min-height: 100vh;
    background: var(--bg-color);
    padding: 120px 0 60px;
}

.blogs-page .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.blogs-page .page-header {
    margin-bottom: 40px;
}

.blogs-page .page-header h1 {
    font-size: 3.5rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-weight: 700;
}

.blogs-page .page-header h1 span {
    color: var(--primary-color);
}

.blogs-page .page-header p {
    font-size: 1.2rem;
    color: var(--text-dark-low);
    line-height: 1.6;
    max-width: 600px;
}

.blogs-page .filter-bar {
    margin-bottom: 30px;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.blogs-page .filter-bar .filter-btn {
    padding: 8px 20px;
    border-radius: 30px;
    background: var(--card-bg);
    color: var(--text-dark);
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.blogs-page .filter-bar .filter-btn:hover {
    background: var(--primary-color-low);
    color: var(--text-light);
}

.blogs-page .filter-bar .filter-btn.active {
    background: var(--primary-color);
    color: var(--text-light);
}

.blogs-page .blogs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.blog-card {
    position: relative;
    height: 400px;
    border-radius: 12px;
    overflow: hidden;
    background: var(--card-bg);
    transition: all 0.3s ease;
    cursor: pointer;
}

.blog-card:hover {
    transform: translateY(-5px);
}

.blog-card .blog-image {
    width: 100%;
    height: 100%;
    position: absolute;
}

.blog-card .blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-card .blog-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, 
        rgba(0,0,0,0) 0%,
        rgba(0,0,0,0.7) 100%);
}

.blog-card .tags {
    position: absolute;
    top: 20px;
    left: 20px;
    display: flex;
    gap: 8px;
    z-index: 2;
}

.blog-card .tags .tag {
    padding: 6px 12px;
    border-radius: 6px;
    background: var(--card-bg);
    color: var(--primary-color);
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.blog-card .blog-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: calc(100% - 90px);
    padding: 25px;
    z-index: 2;
}

.blog-card .blog-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
}

.blog-card .blog-meta span {
    color: var(--text-light-low);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.blog-card .blog-meta i {
    font-size: 0.8rem;
}

.blog-card .blog-title {
    font-size: 1.8rem;
    color: var(--text-light);
    margin-bottom: 10px;
    line-height: 1.3;
    font-weight: 600;
}

.blog-card .blog-excerpt {
    color: var(--text-light-low);
    font-size: 1rem;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
}

.blog-card .blog-link {
    position: absolute;
    bottom: 25px;
    right: 15px;
    width: 40px;
    height: 40px;
    background: var(--card-bg);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
}

.blog-card .blog-link i {
    color: var(--primary-color);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.blog-card:hover .blog-link {
    background: var(--primary-color);
}

.blog-card:hover .blog-link i {
    color: var(--text-light);
}

.load-more {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.load-more .btn-load {
    padding: 12px 30px;
    background: var(--primary-color);
    color: var(--text-light);
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.load-more .btn-load:hover {
    background: var(--primary-color-dark);
}

@media (max-width: 768px) {
    .blogs-page {
        padding: 100px 0 40px;
    }

    .blogs-page .container {
        width: calc(100% - 40px);
    }
    
    .blogs-page .page-header h1 {
        font-size: 2.5rem;
    }
    
    .blogs-page .blogs-grid {
        grid-template-columns: 1fr;
    }
    
    .blog-card {
        height: 350px;
    }
    
    .blog-card .blog-title {
        font-size: 1.5rem;
    }
}