/* ==========================================================================
   Column & Article Layout (Japanese)
   ========================================================================== */

/* ─── Column Index Grid ─── */
.column-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-top: 40px;
}

.column-card {
    display: flex;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
    text-decoration: none;
    height: 100%;
}

.column-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.06);
}

.column-card-img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    background: rgba(255, 255, 255, 0.05);
}

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

.column-card-tag {
    font-size: 0.75rem;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
    font-weight: 500;
}

.column-card .column-card-title {
    font-size: 1.05rem;
    color: #ffffff;
    line-height: 1.5;
    margin: 0 0 12px 0;
    font-weight: normal;
    letter-spacing: normal;
}

.column-card-desc {
    font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-weight: 300;
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0 0 20px 0;
    flex-grow: 1;
}

.column-card-meta {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

/* ─── Article Layout ─── */
.column-article {
    max-width: 720px;
    margin: 0 auto;
    padding: 100px 20px 60px;
}

.article-breadcrumb {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.article-breadcrumb a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.2s ease;
}

.article-breadcrumb a:hover {
    color: var(--accent);
}

.article-breadcrumb span {
    margin: 0 8px;
    opacity: 0.3;
}

.article-header {
    margin-bottom: 40px;
}

.article-header h1 {
    font-size: 2.2rem;
    line-height: 1.4;
    margin: 0 0 16px 0;
    font-family: 'Zen Kurenaido', sans-serif;
    font-weight: normal;
}

.article-meta {
    font-size: 0.9rem;
    color: var(--text-secondary);
    display: flex;
    gap: 16px;
}

.article-hero-image {
    width: 100%;
    margin-bottom: 48px;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: rgba(255, 255, 255, 0.05); /* placeholder background */
}

.article-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.article-body {
    font-size: 1rem;
    line-height: 1.9;
    color: var(--text-body);
    font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Meiryo", sans-serif;
    font-weight: 300;
}

.article-body p {
    margin-bottom: 24px;
}

/* Headings */
.article-body h2 {
    font-size: 1.6rem;
    line-height: 1.45;
    color: #ffffff;
    margin: 48px 0 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-family: 'Zen Kurenaido', sans-serif;
    font-weight: normal;
}

.article-body h3 {
    font-size: 1.25rem;
    line-height: 1.5;
    color: #ffffff;
    margin: 36px 0 16px;
    font-family: 'Zen Kurenaido', sans-serif;
    font-weight: normal;
}

/* Lists */
.article-body ul, .article-body ol {
    margin-bottom: 24px;
    padding-left: 24px;
}

.article-body li {
    margin-bottom: 10px;
}

/* Links */
.article-body a {
    color: var(--accent);
    text-decoration: none;
    border-bottom: 1px dotted var(--accent);
    transition: all 0.2s ease;
}

.article-body a:hover {
    color: #ffffff;
    border-bottom-color: #ffffff;
}

/* Components within article */
.info-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 24px;
    margin: 32px 0;
    display: flex;
    gap: 20px;
}

.info-card-icon {
    color: var(--accent);
    flex-shrink: 0;
}

.info-card p:last-child {
    margin-bottom: 0;
}

.key-point {
    background: rgba(108, 180, 238, 0.08);
    border-left: 4px solid var(--accent);
    padding: 20px 24px;
    margin: 32px 0;
    border-radius: 0 8px 8px 0;
}

.key-point strong {
    display: block;
    color: var(--accent);
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.key-point p:last-child {
    margin-bottom: 0;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: 32px 0;
    font-size: 0.95rem;
}

.comparison-table th, .comparison-table td {
    padding: 16px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.comparison-table th {
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    font-weight: 500;
}

/* Call To Action inside article */
.article-cta {
    margin-top: 60px;
    padding: 40px;
    background: linear-gradient(135deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    text-align: center;
}

.article-cta h2 {
    font-size: 1.5rem;
    margin-top: 0;
    margin-bottom: 16px;
    border: none;
    padding: 0;
}

.article-cta p {
    margin-bottom: 24px;
    color: var(--text-secondary);
    text-align: left;
}

.back-to-column {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 40px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s ease;
    border: none !important;
}

.back-to-column:hover {
    color: var(--accent);
}

/* Related Articles Block */
.related-articles {
    max-width: 720px;
    margin: 60px auto 100px;
    padding: 0 20px;
}

.related-articles h2 {
    font-size: 1.4rem;
    margin-bottom: 24px;
    font-family: var(--font-body);
}

.related-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.related-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    padding: 20px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.related-card:hover {
    background: rgba(255,255,255,0.06);
    border-color: rgba(255,255,255,0.15);
}

.related-card-title {
    color: #fff;
    font-size: 1.05rem;
    margin-bottom: 8px;
    line-height: 1.4;
    font-weight: 500;
}

.related-card-desc {
    font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-weight: 300;
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.5;
}


@media (max-width: 768px) {
    .column-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .column-article {
        padding: 80px 20px 40px;
    }
    
    .article-header h1 {
        font-size: 1.8rem;
    }

    .article-body {
        font-size: 0.95rem;
    }
    
    .related-grid {
        grid-template-columns: 1fr;
    }
    
    .info-card {
        flex-direction: column;
        gap: 12px;
        padding: 20px;
    }
}
