/* ===========================
   Tag Archive Page (MBTI × 星座)
   =========================== */

.tag-archive-page {
    padding: 30px 0 80px;
}

.tag-archive-header {
    text-align: center;
    margin-bottom: 50px;
}

.tag-archive-title {
    font-size: 36px;
    margin-bottom: 12px;
}

.tag-archive-description {
    font-size: 15px;
    color: var(--color-text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Post List */
.tag-archive-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

/* Post Card */
.tag-post-card {
    background: var(--color-white);
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.tag-post-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.tag-post-link {
    display: block;
}

.tag-post-thumbnail {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background-color: var(--color-accent-warm);
}

.tag-post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.tag-post-card:hover .tag-post-thumbnail img {
    transform: scale(1.03);
}

.tag-post-info {
    padding: 16px 18px 20px;
}

.tag-post-title {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.6;
    color: var(--color-text-primary);
    margin-bottom: 8px;
}

.tag-post-excerpt {
    font-size: 13px;
    color: var(--color-text-secondary);
    line-height: 1.7;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tag-post-date {
    font-size: 12px;
    color: var(--color-text-secondary);
}

/* No Results */
.tag-archive-page .no-results {
    text-align: center;
    padding: 60px 0;
}

.tag-archive-page .no-results p {
    color: var(--color-text-secondary);
    margin-bottom: 24px;
    font-size: 16px;
}

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

@media (max-width: 991px) {
    .tag-archive-title {
        font-size: 28px;
    }

    .tag-archive-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 767px) {
    .tag-archive-page {
        padding: 20px 0 60px;
    }

    .tag-archive-title {
        font-size: 24px;
    }

    .tag-archive-list {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}
