@charset "UTF-8";

/* Page Hero */
.page-hero {
    height: 300px;
    background-image: url('../images/blog/top-img.jpg');
    /* Placeholder */
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 100px;
    position: relative;
    color: #fff;
}

.page-hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
}

.page-hero-inner {
    position: relative;
    text-align: center;
    z-index: 1;
}

.page-title-en {
    font-family: var(--font-en);
    font-size: 2.5rem;
    letter-spacing: 0.1em;
    margin-bottom: 10px;
    font-weight: normal;
}

.page-title-jp {
    font-size: 1rem;
    letter-spacing: 0.05em;
}

/* Breadcrumbs */
.breadcrumbs {
    padding: 20px 20px;
    font-size: 0.8rem;
    color: var(--secondary-color);
}

.breadcrumbs a {
    text-decoration: underline;
}

/* Blog Layout */
.blog-container {
    padding: 60px 0;
}

.blog-layout {
    display: flex;
    gap: 60px;
}

.blog-main {
    flex: 3;
}

.blog-sidebar {
    flex: 1;
}

/* Blog Grid */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-bottom: 60px;
}

.blog-post {
    background-color: #fff;
}

.blog-post a {
    display: block;
    color: inherit;
}

.post-image {
    margin-bottom: 15px;
    overflow: hidden;
}

.post-image img {
    transition: transform 0.3s;
}

.blog-post a:hover .post-image img {
    transform: scale(1.05);
}

.post-title {
    font-size: 1rem;
    margin-bottom: 15px;
    line-height: 1.6;
    font-weight: 500;
}

.post-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 0.8rem;
    color: var(--secondary-color);
}

.post-meta time {
    font-family: var(--font-en);
}

.post-category {
    background-color: var(--blue-color);
    color: #fff;
    padding: 2px 10px;
    font-size: 0.7rem;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    font-family: var(--font-en);
}

.pagination a,
.pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid #eee;
    color: var(--secondary-color);
    font-size: 0.9rem;
}

.pagination .current {
    background-color: var(--accent-color);
    color: #fff;
    border-color: var(--accent-color);
}

.pagination .dots {
    border: none;
}

/* Sidebar Widgets */
.widget {
    margin-bottom: 60px;
}

.widget-title {
    font-family: var(--font-en);
    font-size: 1.1rem;
    color: var(--accent-color);
    margin-bottom: 20px;
    letter-spacing: 0.1em;
}

.widget-title-jp {
    font-family: var(--font-serif);
    font-size: 0.8rem;
    color: var(--secondary-color);
    margin-left: 10px;
    font-weight: normal;
}

/* Search Widget */
.search-form {
    display: flex;
    border: 1px solid #ddd;
    padding: 5px;
}

.search-form input {
    flex: 1;
    border: none;
    padding: 10px;
    outline: none;
    font-size: 0.9rem;
}

.search-form button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0 10px;
}

/* Category & Archive Lists */
.category-list,
.archive-list {
    list-style: none;
}

.category-list li,
.archive-list li {
    border-bottom: 1px solid #eee;
}

.category-list a,
.archive-list a {
    display: block;
    padding: 15px 0;
    font-size: 0.9rem;
    color: var(--secondary-color);
    transition: color 0.3s;
}

.category-list a:hover,
.archive-list a:hover {
    color: var(--accent-color);
}

/* Bottom CTA (Reuse) */


/* Responsive */
@media (max-width: 768px) {
    .page-hero {
        height: 200px;
        margin-top: 60px;
    }

    .blog-layout {
        flex-direction: column;
        gap: 40px;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }



    .btn-cta {
        width: 100%;
        max-width: 300px;
    }
}