/**
 * Archive Topic Page Styles (PC)
 */

/* Hero Section (FAQページと同様のスタイル) */
.archive-hero {
    position: relative;
    width: 100%;
    background: linear-gradient(179.804deg, rgb(0, 73, 129) 0.5824%, rgb(0, 104, 183) 59.443%, rgb(0, 73, 129) 98.683%);
    padding: 24px 0;
    color: #FFF;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.archive-title {
    font-size: 24px;
    font-weight: 700;
    color: #FFF;
    margin: 0;
    text-align: center;
}

.archive-desc {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 16px;
    text-align: center;
}

/* Topic Archive Section */
.section-topic-archive {
    padding: 40px 0;
    background: #f8f8f8;
}

.topic-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

/* Special Card */
.special-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.special-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

/* カード全体をリンクにするためのスタイル */
.special-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

.special-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
}

.special-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.special-card:hover .special-image img {
    transform: scale(1.05);
}

.special-content {
    padding: 24px;
}

.special-category {
    display: inline-block;
    font-size: 12px;
    font-weight: 500;
    color: #002060;
    background: rgba(0, 32, 96, 0.08);
    padding: 4px 12px;
    border-radius: 4px;
    margin-bottom: 12px;
}

.special-title {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    line-height: 1.5;
    margin-bottom: 12px;
}

.special-card:hover .special-title {
    color: #002060;
}

.special-excerpt {
    font-size: 14px;
    color: #666;
    line-height: 1.7;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.btn-view-more-sm {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #002060;
    text-decoration: none;
    transition: gap 0.3s ease;
}

.btn-view-more-sm:hover {
    gap: 12px;
}

.btn-view-more-sm .arrow-icon {
    width: 12px;
    height: 12px;
}

/* Pagination */
.navigation.pagination {
    margin-top: 48px;
    text-align: center;
}

.nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    font-size: 14px;
    color: #333;
    text-decoration: none;
    border: 1px solid #CDD8DE;
    border-radius: 4px;
    transition: all 0.3s ease;
    background-color: #fff;
}

.page-numbers:hover {
    border-color: #002060;
    color: #002060;
}

.page-numbers.current {
    background: #002060;
    border-color: #002060;
    color: #fff;
}

.page-numbers.prev,
.page-numbers.next {
    width: auto;
    padding: 0 16px;
    border: none;
}

.page-numbers.prev img,
.page-numbers.next img {
    width: 16px;
    height: 16px;
}

/* No Posts */
.no-posts {
    text-align: center;
    font-size: 16px;
    color: #666;
    padding: 80px 0;
}
