/* ===== BLOG POST ===== */

.blog-post-container {
    max-width: 860px;
    margin: 0 auto;
    padding: 40px 20px 80px 20px;
}

.blog-post-cover {
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 32px;
}

.blog-post-cover img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    display: block;
}

.blog-post-title {
    font-size: 28px;
    font-weight: 700;
    color: #222;
    margin-bottom: 8px;
}

.blog-post-date {
    font-size: 13px;
    color: #aaa;
    margin-bottom: 24px;
}

.blog-post-text {
    font-size: 15px;
    color: #444;
    line-height: 1.8;
    margin-bottom: 48px;
}

/* ===== GALLERY ===== */

.blog-post-gallery {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    margin-top: 40px;
}

.blog-gallery-track {
    display: flex;
    transition: transform 0.4s ease;
}

.blog-gallery-item {
    min-width: 100%;
}

.blog-gallery-item img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    display: block;
    border-radius: 16px;
}

.blog-gallery-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.45);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    font-size: 18px;
    cursor: pointer;
    z-index: 2;
    transition: background 0.2s;
}

.blog-gallery-btn:hover {
    background: rgba(0,0,0,0.7);
}

.blog-gallery-prev {
    left: 12px;
}

.blog-gallery-next {
    right: 12px;
}

/* ===== BLOG CARDS (գլխավոր էջ) ===== */

.blog-section {
    padding: 60px 40px;
}

.blog-section-title {
    font-size: 22px;
    font-weight: 700;
    color: #222;
    margin-bottom: 24px;
}

.blog-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.blog-card {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #e6e6e6;
    cursor: pointer;
    transition: box-shadow 0.2s;
    text-decoration: none;
}

.blog-card:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.10);
}

.blog-card-img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
}

.blog-card-body {
    padding: 16px;
}

.blog-card-title {
    font-size: 15px;
    font-weight: 600;
    color: #222;
    line-height: 1.4;
}

.blog-card-date {
    font-size: 12px;
    color: #aaa;
    margin-top: 6px;
}

/* ===== RESPONSIVE ===== */

@media (max-width: 800px)
{
    .blog-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 500px)
{
    .blog-cards {
        grid-template-columns: 1fr;
    }

    .blog-post-cover img,
    .blog-gallery-item img {
        height: 220px;
    }

    .blog-post-title {
        font-size: 22px;
    }
}