/* Column Archive Page Styles - Based on Figma Design */

/* Reset and Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Main Container */
.column-archive-page {
    width: 100%;
    background: #ffffff;
    position: relative;
}

/* Force scrolled state styles for column page */
.site-header.always-scrolled {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important;
}

.site-header.always-scrolled .main-navigation a {
    color: #333333 !important;
    text-shadow: none !important;
    font-family: 'Zen Kaku Gothic Antique', sans-serif !important;
}

.site-header.always-scrolled .site-branding a {
    color: #333333 !important;
    font-family: 'Cinzel', serif !important;
}

/* Hero Section */
.column-hero {
    position: relative;
    width: 100%;
    height: 495px;
    margin-top: 0;
    overflow: hidden;
}

.column-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../img/kv/blogs.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.column-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.column-hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 10;
}

.column-hero-title {
    font-family: 'Zen Kaku Gothic Antique', sans-serif !important;
    font-weight: 700;
    font-size: 40px;
    color: #ffffff;
    line-height: 1.5;
    margin: 0;
    text-align: center;
}

/* Mobile Hero Content - Hidden on Desktop */
.column-hero-mobile {
    display: none;
}

/* COLUMN Section */
.column-section-title {
    font-family: 'Cinzel', serif;
    font-weight: 400;
    font-size: 48px;
    color: #1b1b1b;
    margin: 0;
    margin-top: 80px;
    margin-left: 120px;
    letter-spacing: 0.1em;
}

.column-section-description {
    font-family: 'Zen Kaku Gothic Antique', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 1.5;
    color: #1b1b1b;
    margin-top: 32px;
    margin-left: 120px;
    max-width: 692px;
}

/* Column Grid Section */
.column-grid-wrapper {
    background: #efefef;
    width: 100%;
    padding: 120px 0;
    margin-top: 128px;
}

.column-grid-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 120px;
}

.column-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    row-gap: 66px;
}

/* Column Card */
.column-card {
    width: 388px;
    height: auto;
    position: relative;
    display: block;
    text-decoration: none;
    transition: box-shadow 0.3s ease;
}

.column-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.column-card-image {
    width: 100%;
    height: 180px;
    position: relative;
    overflow: hidden;
    background: #e8e8e8;
}

.column-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.column-card-placeholder {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Zen Kaku Gothic Antique', sans-serif;
    font-weight: 700;
    font-size: 16px;
    color: hsl(0, 0%, 20%);
    text-align: center;
}

.column-card-content {
    padding: 16px 0 20px 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.column-card-tag {
    display: inline-block;
    padding: 8px 16px;
    border: 1px solid #1b1b1b;
    border-radius: 15px;
    font-family: 'Noto Serif JP', serif;
    font-weight: 200;
    font-size: 14px;
    color: #1b1b1b;
    line-height: 1;
    white-space: nowrap;
    flex-shrink: 0;
}

.column-card-title {
    font-family: 'Noto Serif JP', serif;
    font-weight: 200;
    font-size: 14px;
    color: #1b1b1b;
    line-height: 1.5;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}

/* Pagination */
.column-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 70px;
    gap: 16px;
}

.page-number {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-family: 'Noto Serif JP', serif;
    font-weight: 200;
    font-size: 20px;
    background: #e0e0e0;
    color: #1b1b1b;
    cursor: pointer;
    transition: all 0.3s ease;
}

.page-number.active,
.page-number:hover {
    background: #1b1b1b;
    color: #ffffff;
}

/* Responsive */
@media only screen and (max-width: 1200px) {
    .column-grid {
        grid-template-columns: repeat(2, 1fr);
        justify-items: center;
        gap: 20px;
    }
    
    .column-grid-container {
        padding: 0 40px;
        max-width: none;
    }
    
    .column-card {
        width: 100%;
        max-width: 388px;
    }
}

@media only screen and (max-width: 768px) {
    .column-hero {
        height: 350px;
        margin-top: 0;
        background: transparent;
    }
    
    .column-hero-bg {
        background-color: #999999;
        height: 100%;
    }
    
    .column-hero-overlay {
        display: none;
    }
    
    .column-hero-content {
        display: none;
    }
    
    /* Show Mobile Hero Content */
    .column-hero-mobile {
        display: block;
        position: absolute;
        top: 109px;
        left: 22px;
        z-index: 10;
    }
    
    .column-hero-mobile-title {
        font-family: 'Cinzel', serif;
        font-size: 40px;
        font-weight: 400;
        color: #1b1b1b;
        margin: 0;
        letter-spacing: 0.08em;
        line-height: 1;
    }
    
    .column-hero-mobile-subtitle {
        font-family: 'Zen Kaku Gothic Antique', sans-serif;
        font-size: 10px;
        font-weight: 500;
        color: #1b1b1b;
        line-height: 1.5;
        margin-top: 16px;
        max-width: 295px;
    }
    
    /* Hide desktop COLUMN section on mobile */
    .column-info {
        display: none;
    }
    
    .column-grid-wrapper {
        padding: 40px 0 60px;
        margin-top: 0;
    }
    
    .column-grid-container {
        padding: 0 22px;
    }
    
    .column-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        row-gap: 24px;
    }
    
    .column-card {
        width: 100%;
        height: auto;
    }
    
    .column-card-image {
        height: auto;
    }
    
    .column-card-content {
        padding: 8px 0;
        gap: 8px;
    }
    
    .column-card-tag {
        font-size: 8px;
        padding: 2px 6px;
        border-radius: 10px;
    }
    
    .column-card-title {
        font-size: 11px;
        font-weight: 300;
    }
    
    /* Pagination Mobile */
    .column-pagination {
        margin-top: 40px;
        gap: 12px;
    }
    
    .page-number {
        width: 18.7px;
        height: 18.7px;
        font-family: 'Cinzel', serif;
        font-size: 8px;
        font-weight: 400;
        background: #d9d9d9;
        border: none;
    }
    
    .page-number.active {
        background: #c00707;
        color: #ffffff;
    }
    
    .page-number:hover {
        background: #c00707;
        color: #ffffff;
    }
}