@charset "UTF-8";

/* ==========================================================================
   Archive Page Specific Styles (Gentle & Soft Wa-Modern 2026)
   ========================================================================== */

/* Scope strictly to archive pages if possible, or use specific classes */
/* Scope strictly to archive pages if possible, or use specific classes */
.archive .site-main,
.search .site-main {
    /* Color Palette - Matching Global Concept */
    --color-bg: #F9F9F9;
    --color-surface: #FFFFFF;
    --color-text: #333333;
    --color-text-muted: #666666;
    --color-brand: #229ebd;
    --color-main: #E5989B;
    --color-accent: #EE4B2B;
    --color-border: #EEEEEE;

    /* Typography */
    --font-base: "LINE Seed JP", "Zen Kaku Gothic New", sans-serif;

    /* Radius */
    --radius-md: 24px;
    --radius-sm: 12px;

    /* Shadow */
    --shadow-soft: 0 10px 40px rgba(0, 0, 0, 0.04);
    --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.03);
    --shadow-hover: 0 15px 30px rgba(34, 158, 189, 0.1);

    background-color: var(--color-bg);
    padding-top: 0;
    /* Reset for Hero */
}

/* Typography Overrides */
/* Typography Overrides */
.archive h1,
.archive h2,
.archive h3,
.search h1,
.search h2,
.search h3 {
    font-family: var(--font-base);
}

/* ==========================================================================
   Hero Section (Aurora Washi)
   ========================================================================== */
.archive-hero {
    position: relative;
    width: 100%;
    padding: 140px 0 80px;
    background: radial-gradient(circle at 50% 50%, #ffffff 0%, #f0f2f5 100%);
    border-bottom-left-radius: 60px;
    border-bottom-right-radius: 60px;
    overflow: hidden;
    text-align: center;
    margin-bottom: 60px;
}

.archive-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.archive-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    animation: drift 20s infinite alternate ease-in-out;
}

.archive-orb.orb-1 {
    top: -30%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(34, 158, 189, 0.25) 0%, rgba(34, 158, 189, 0) 70%);
}

.archive-orb.orb-2 {
    bottom: -30%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(229, 152, 155, 0.25) 0%, rgba(229, 152, 155, 0) 70%);
    animation-delay: -5s;
}

@keyframes drift {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(20px, -20px);
    }
}

.archive-hero__inner {
    position: relative;
    z-index: 2;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Title Styling */
.archive-hero__title h1 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color-text);
    letter-spacing: 0.05em;
    margin: 0;
}

.archive-hero__desc {
    margin-top: 15px;
    color: var(--color-text-muted);
    font-size: 1rem;
}

/* ==========================================================================
   Main Content Layout
   ========================================================================== */
.archive-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px 80px;
    display: grid;
    grid-template-columns: 1fr 300px;
    /* Main + Sidebar */
    gap: 40px;
}

/* Post Grid */
.post-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

/* Post Card */
.post-card {
    background: var(--color-surface);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid transparent;
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(34, 158, 189, 0.2);
}

.post-thumbnail {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background-color: #eee;
}

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

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

.post-content {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.post-meta {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.post-date {
    display: inline-block;
    background: #f0f2f5;
    padding: 4px 10px;
    border-radius: 20px;
    font-weight: 500;
}

.post-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 12px;
    line-height: 1.5;
}

.post-title a {
    color: var(--color-text);
    text-decoration: none;
    transition: color 0.2s;
}

.post-card:hover .post-title a {
    color: var(--color-brand);
}

.post-excerpt {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    line-height: 1.6;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.read-more-btn {
    align-self: flex-start;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--color-brand);
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.read-more-btn::after {
    content: '→';
    display: inline-block;
    transition: transform 0.2s;
}

.post-card:hover .read-more-btn::after {
    transform: translateX(4px);
}


/* Pagination */
.pagination {
    margin-top: 60px;
    gap: 10px;
}

.pagination .page-numbers {
    width: 50px;
    height: 50px;
    border: none;
    background: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    font-weight: 700;
    font-family: var(--font-base);
    transition: all 0.3s;
}

.pagination .page-numbers:hover,
.pagination .page-numbers.current {
    background: var(--color-brand);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(34, 158, 189, 0.3);
}


/* ==========================================================================
   Sidebar Customization for Archive
   ========================================================================== */
.archive-sidebar {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.archive-sidebar .widget {
    background: var(--color-surface);
    padding: 30px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
    border: 1px solid transparent;
}

.archive-sidebar .widget-title {
    font-size: 1.1rem;
    margin-bottom: 20px;
    border-bottom: none;
    position: relative;
    padding-left: 15px;
}

.archive-sidebar .widget-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 20px;
    background: var(--color-brand);
    border-radius: 2px;
}

.archive-sidebar ul li {
    border-bottom: 1px dashed var(--color-border);
    padding: 10px 0;
    transition: padding 0.2s;
}

.archive-sidebar ul li:last-child {
    border-bottom: none;
}

.archive-sidebar ul li a {
    color: var(--color-text-muted);
    font-weight: 500;
    font-size: 0.95rem;
}

.archive-sidebar ul li:hover {
    padding-left: 5px;
}

.archive-sidebar ul li a:hover {
    color: var(--color-brand);
}

/* Search Widget Special */
.archive-sidebar .widget_search .search-form {
    display: flex;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border-radius: 50px;
    overflow: hidden;
    width: 100%;
    background: #f5f7fa;
}

.archive-sidebar .widget_search .search-form label {
    flex-grow: 1;
    display: flex;
    margin-bottom: 0;
    min-width: 0;
}

.archive-sidebar .widget_search .search-field {
    border: none;
    background: transparent;
    padding: 15px 20px;
    border-radius: 0;
    width: 100%;
    outline: none;
    color: var(--color-text);
}

.archive-sidebar .widget_search .search-submit {
    border-radius: 0;
    padding: 0 25px;
    background-color: var(--color-brand);
    color: #fff;
    border: none;
    cursor: pointer;
    font-weight: bold;
    flex-shrink: 0;
    transition: background-color 0.3s;
}

.archive-sidebar .widget_search .search-submit:hover {
    opacity: 0.9;
}

/* Responsive */
@media (max-width: 900px) {
    .archive-container {
        grid-template-columns: 1fr;
    }

    .archive-hero {
        padding: 120px 0 60px;
        border-bottom-left-radius: 40px;
        border-bottom-right-radius: 40px;
    }

    .archive-hero__title h1 {
        font-size: 1.8rem;
    }
}