/* Blog Page - Modern Hexagon Design */
/* Using Logo Colors: Orange (#FF9A3C), Pink (#FF4D7D), Purple (#8B5CF6), Blue (#3B82F6) */

.blog-page-section {
    min-height: 100vh;
    padding: 6rem 0;
    background: rgba(13, 17, 23, 0.8);
    position: relative;
}

.blog-page-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 30% 40%, rgba(255, 154, 60, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 70% 60%, rgba(139, 92, 246, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

/* Page Header */
.blog-page-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 2;
}

.blog-page-hex-icon {
    width: 100px;
    height: 100px;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    background: linear-gradient(135deg, #FF9A3C, #FF4D7D);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    font-size: 2.5rem;
    color: #fff;
    animation: blog-page-hex-float 4s ease-in-out infinite;
}

@keyframes blog-page-hex-float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(10deg); }
}

.blog-page-title {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, #FF9A3C, #FF4D7D, #8B5CF6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.blog-page-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Blog Grid */
.blog-page-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
    position: relative;
    z-index: 2;
}

/* Blog Card - Same as homepage */
.blog-page-card {
    transition: all 0.3s ease;
}

.blog-page-hex-border {
    background: linear-gradient(135deg, rgba(255, 154, 60, 0.2), rgba(139, 92, 246, 0.2));
    padding: 2px;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.blog-page-card:hover .blog-page-hex-border {
    background: linear-gradient(135deg, rgba(255, 154, 60, 0.4), rgba(255, 77, 125, 0.4));
    box-shadow: 0 10px 30px rgba(255, 154, 60, 0.3);
}

.blog-page-hex-content {
    background: rgba(13, 17, 23, 0.95);
    border-radius: 18px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.blog-page-image-wrapper {
    position: relative;
    width: 100%;
    padding-top: 60%;
    overflow: hidden;
}

.blog-page-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-page-card:hover .blog-page-image {
    transform: scale(1.1);
}

.blog-page-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(13, 17, 23, 0) 0%, rgba(13, 17, 23, 0.9) 100%);
}

.blog-page-hex-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 50px;
    height: 50px;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    background: linear-gradient(135deg, #FF9A3C, #FF4D7D);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.2rem;
    z-index: 2;
    transition: all 0.3s ease;
}

.blog-page-card:hover .blog-page-hex-badge {
    transform: rotate(180deg) scale(1.1);
}

.blog-page-content-wrapper {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-page-card-title {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.4;
    height: 2.8em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.blog-page-excerpt {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-page-footer-wrapper {
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.blog-page-read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: #FF9A3C;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.blog-page-read-more:hover {
    color: #FF4D7D;
}

.blog-page-arrow-hex {
    width: 30px;
    height: 30px;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    background: linear-gradient(135deg, rgba(255, 154, 60, 0.3), rgba(255, 77, 125, 0.3));
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.blog-page-read-more:hover .blog-page-arrow-hex {
    background: linear-gradient(135deg, #FF9A3C, #FF4D7D);
    transform: translateX(5px);
}

/* No Posts */
.blog-page-no-posts {
    text-align: center;
    padding: 4rem 2rem;
    position: relative;
    z-index: 2;
}

.blog-page-no-posts-hex {
    width: 120px;
    height: 120px;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    background: linear-gradient(135deg, rgba(255, 154, 60, 0.2), rgba(139, 92, 246, 0.2));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.3);
}

.blog-page-no-posts p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.2rem;
}

/* Pagination */
.blog-page-pagination {
    position: relative;
    z-index: 2;
}

.blog-pagination-list {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.blog-pagination-list li {
    transition: all 0.3s ease;
}

.blog-pagination-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 45px;
    height: 45px;
    padding: 0 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 154, 60, 0.2);
    border-radius: 12px;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.blog-pagination-list li.active .blog-pagination-link {
    background: linear-gradient(135deg, #FF9A3C, #FF4D7D);
    border-color: transparent;
    box-shadow: 0 5px 15px rgba(255, 154, 60, 0.3);
}

.blog-pagination-list li:not(.disabled):not(.active):hover .blog-pagination-link {
    background: rgba(255, 154, 60, 0.2);
    border-color: rgba(255, 154, 60, 0.4);
    transform: translateY(-2px);
}

.blog-pagination-list li.disabled .blog-pagination-link {
    opacity: 0.3;
    cursor: not-allowed;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .blog-page-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .blog-page-section {
        padding: 4rem 0;
    }
    
    .blog-page-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .blog-page-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .blog-page-title {
        font-size: 2rem;
    }
    
    .blog-page-subtitle {
        font-size: 1rem;
    }
    
    .blog-page-hex-icon {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .blog-page-section {
        padding: 3rem 0;
    }
    
    .blog-page-header {
        margin-bottom: 2.5rem;
    }
    
    .blog-pagination-link {
        min-width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }
}
