/* ========================================
   MAIN BLOG PAGE STYLES
   ======================================== */

.blog-main {
    background-color: #f4f4f4;
    min-height: 100vh;
    padding-top: 80px;
    padding-bottom: 60px;
}

/* Blog Entries Container */
.blog-entries {
    display: flex;
    flex-direction: column;
    gap: 60px;
    padding: 60px 0;
}

/* Individual Blog Entry */
.blog-entry {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    position: relative;
}

.blog-entry[data-page="2"] {
    display: none;
}

/* Entry Image */
.entry-image {
    flex-shrink: 0;
}

.image-placeholder,
.entry-image img {
    width: 163px;
    height: 163px;
    background-color: #d9d9d9;
    border-radius: 25px;
    object-fit: cover;
    display: block;
}

/* Entry Content */
.entry-content {
    flex: 1;
    max-width: 600px;
}

.entry-title {
    font-family: 'AloeveraDisplay', 'Inter', sans-serif;
    font-weight: 500;
    font-size: 36px;
    line-height: 85%;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.entry-excerpt {
    font-family: 'AloeveraDisplay', 'Inter', sans-serif;
    font-weight: 300;
    font-size: 16px;
    line-height: 1.5;
    color: #000000;
    margin-bottom: 15px;
}

.entry-meta {
    display: flex;
    justify-content: flex-end;
}

.entry-date {
    font-family: 'AloeveraDisplay', 'Inter', sans-serif;
    font-weight: 200;
    font-size: 16px;
    color: #000000;
}

/* Entry Arrow Button */
.entry-arrow {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    height: 61px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.entry-arrow:hover {
    transform: translateY(-50%) scale(1.05);
    opacity: 0.8;
}

.entry-arrow img {
    width: 100%;
    height: 61px;
    max-width: 100%;
}

/* ========================================
   PAGINATION
   ======================================== */
.blog-pagination {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 40px;
    padding-right: 20px;
}

.pagination-numbers {
    display: flex;
    align-items: center;
    gap: 15px;
}

.pagination-num {
    font-family: 'AloeveraDisplay', 'Inter', sans-serif;
    font-weight: 500;
    font-size: 16px;
    color: #a8a8a8;
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.3s ease;
    padding: 5px 10px;
}

.pagination-num:hover {
    color: var(--primary-color);
}

.pagination-num.active {
    color: var(--primary-color);
}

.pagination-arrow {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--primary-color);
    font-size: 14px;
    padding: 5px;
    transition: opacity 0.3s ease;
}

.pagination-arrow:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.pagination-arrow:hover:not(:disabled) {
    opacity: 0.7;
}

/* ========================================
   RESPONSIVE - Tablet (1024px)
   ======================================== */
@media (max-width: 1024px) {
    .blog-entry {
        gap: 20px;
    }

    .image-placeholder,
    .entry-image img {
        width: 140px;
        height: 140px;
    }

    .entry-title {
        font-size: 28px;
    }

    .entry-excerpt {
        font-size: 14px;
    }

    .entry-arrow {
        width: 100%;
        height: 61px;
    }
}

/* ========================================
   RESPONSIVE - Tablet Portrait (768px)
   ======================================== */
@media (max-width: 768px) {
    .blog-main {
        padding-top: 70px;
    }

    .blog-entries {
        gap: 40px;
        padding: 40px 0;
    }

    .blog-entry {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .image-placeholder,
    .entry-image img {
        width: 120px;
        height: 120px;
    }

    .entry-content {
        max-width: 100%;
    }

    .entry-title {
        font-size: 24px;
    }

    .entry-meta {
        justify-content: center;
    }

    .entry-arrow {
        position: relative;
        right: auto;
        top: auto;
        transform: none;
        margin-top: 20px;
        width: 100%;
        height: 61px;
    }

    .entry-arrow:hover {
        transform: scale(1.1);
    }

    .blog-pagination {
        justify-content: center;
        padding-right: 0;
    }
}

/* ========================================
   RESPONSIVE - Mobile (480px)
   ======================================== */
@media (max-width: 480px) {
    .blog-entries {
        gap: 30px;
        padding: 30px 0;
    }

    .image-placeholder,
    .entry-image img {
        width: 100px;
        height: 100px;
        border-radius: 20px;
    }

    .entry-title {
        font-size: 20px;
    }

    .entry-excerpt {
        font-size: 13px;
    }

    .entry-date {
        font-size: 14px;
    }

    .entry-arrow {
        width: 100%;
        height: 61px;
    }

    .pagination-numbers {
        gap: 10px;
    }

    .pagination-num {
        font-size: 14px;
        padding: 3px 6px;
    }
}
