/* =============================================
   Breadcrumb
   ============================================= */

.ah-breadcrumb {
    padding: 16px 0 0;
}

.ah-breadcrumb__list {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 12px;
    color: #aaa;
}

.ah-breadcrumb__item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.ah-breadcrumb__item::before {
    content: '/';
    color: #ddd;
}

.ah-breadcrumb__item:first-child::before {
    display: none;
}

.ah-breadcrumb__item a {
    color: #aaa;
    transition: color 0.15s;
}

.ah-breadcrumb__item a:hover {
    color: #555;
}

.ah-breadcrumb__item--current {
    color: #888;
}

.ah-breadcrumb__type {
    display: inline-block;
    padding: 1px 6px;
    border: 1px solid #e0e0e0;
    font-size: 10px;
    letter-spacing: 0.04em;
    color: #aaa;
    margin-right: 2px;
}

/* =============================================
   Archive — 共通レイアウト
   ============================================= */

/* ページヘッダー */
.ah-archive-page__header {
    padding: 52px 0 40px;
    border-bottom: 1px solid #e8e8e8;
    margin-bottom: 52px;
}

.ah-archive-page__title {
    font-size: 22px;
    font-weight: 400;
    letter-spacing: 0.22em;
    margin: 0 0 8px;
    color: #1a1a1a;
    text-transform: uppercase;
}

.ah-archive-page__lead {
    font-size: 12px;
    color: #b0b0b0;
    letter-spacing: 0.08em;
    margin: 0 0 10px;
}

.ah-archive-page__count {
    font-size: 12px;
    color: #bbb;
    margin: 0;
}

/* ボディ */
.ah-archive-page__body {
    padding-bottom: 80px;
}

.ah-archive-page__empty {
    padding: 60px 0;
    text-align: center;
    font-size: 14px;
    color: #aaa;
}

/* =============================================
   Pagination
   ============================================= */

.ah-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
    margin-top: 60px;
    flex-wrap: wrap;
}

.ah-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 8px;
    border: 1px solid #e0e0e0;
    font-size: 13px;
    color: #555;
    transition: background 0.12s, color 0.12s, border-color 0.12s;
}

.ah-pagination .page-numbers:hover {
    border-color: #1a1a1a;
    color: #1a1a1a;
}

.ah-pagination .page-numbers.current {
    background: #1a1a1a;
    border-color: #1a1a1a;
    color: #fff;
}

.ah-pagination .page-numbers.dots {
    border-color: transparent;
    pointer-events: none;
    color: #bbb;
}

/* =============================================
   News Post List
   ============================================= */

.ah-post-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ah-post-list__item {
    border-bottom: 1px solid #f0f0f0;
}

.ah-post-list__item:first-child {
    border-top: 1px solid #f0f0f0;
}

.ah-post-list__link {
    display: flex;
    gap: 28px;
    align-items: flex-start;
    padding: 28px 0;
    transition: opacity 0.15s;
}

.ah-post-list__link:hover {
    opacity: 0.8;
}

/* サムネイル */
.ah-post-list__thumb {
    flex: 0 0 160px;
    width: 160px;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #f0f0f0;
}

.ah-post-list__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.ah-post-list__link:hover .ah-post-list__img {
    transform: scale(1.03);
}

.ah-post-list__img-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(145deg, #eeeeee 0%, #e0e0e0 100%);
}

/* テキスト */
.ah-post-list__body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-top: 4px;
}

.ah-post-list__meta {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.ah-post-list__date {
    font-size: 12px;
    color: #aaa;
    letter-spacing: 0.04em;
    white-space: nowrap;
}

.ah-post-list__title {
    font-size: 16px;
    font-weight: 400;
    color: #1a1a1a;
    line-height: 1.55;
    margin: 0;
    letter-spacing: 0.02em;
}

.ah-post-list__excerpt {
    font-size: 13px;
    color: #888;
    line-height: 1.8;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ah-post-list__more {
    font-size: 12px;
    color: #aaa;
    letter-spacing: 0.06em;
    margin-top: auto;
}

/* =============================================
   Responsive
   ============================================= */

@media (max-width: 768px) {
    .ah-archive-page__header {
        padding: 36px 0 28px;
        margin-bottom: 36px;
    }

    .ah-post-list__link {
        gap: 16px;
        padding: 20px 0;
    }

    .ah-post-list__thumb {
        flex: 0 0 100px;
        width: 100px;
    }

    .ah-post-list__title {
        font-size: 14px;
    }

    .ah-post-list__excerpt {
        display: none;
    }
}

@media (max-width: 480px) {
    .ah-post-list__thumb {
        flex: 0 0 80px;
        width: 80px;
    }
}
