.article-page {
    min-height: 100vh;
    background: var(--fp-bg-primary);
}

.article-header {
    background: var(--fp-bg-secondary);
    padding: 20px 0;
    border-bottom: 1px solid var(--fp-border);
}

.breadcrumb {
    font-size: 14px;
    color: var(--fp-text-secondary);
}

.breadcrumb a {
    color: var(--fp-primary);
    text-decoration: none;
}

.breadcrumb a:hover {
    color: var(--fp-primary-light);
}

.article-content {
    padding: 40px 0;
}

.article-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 320px);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: start;
}

.article-wrapper {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    min-width: 0;
    overflow-wrap: break-word;
}

.sidebar-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sidebar-section {
    background: white;
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.sidebar-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--fp-text-primary);
    margin-bottom: 16px;
    margin-top: 0;
}

.sidebar-articles {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sidebar-article-item {
    display: flex;
    gap: 12px;
    cursor: pointer;
    padding: 8px;
    border-radius: 6px;
    transition: background-color 0.2s;
}

.sidebar-article-item:hover {
    background: var(--fp-bg-secondary);
}

.sidebar-article-image {
    width: 80px;
    height: 60px;
    border-radius: 6px;
    object-fit: cover;
    flex-shrink: 0;
}

.sidebar-article-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--fp-text-primary);
    line-height: 1.4;
}

.sidebar-article-meta {
    font-size: 0.85rem;
    color: var(--fp-text-secondary);
    margin-top: 4px;
}

.article-meta {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
}

.article-meta h1 {
    font-size: 2.1rem;
    font-weight: 800;
    color: var(--fp-text-primary);
    margin: 0 0 16px 0;
    line-height: 1.2;
}

.article-byline {
    display: flex;
    gap: 16px;
    font-size: 0.95rem;
    color: var(--fp-text-secondary);
    flex-wrap: wrap;
    align-items: center;
}

.article-author {
    font-weight: 600;
}

.article-date {
    display: flex;
    align-items: center;
    gap: 6px;
}

.article-reading-time {
    display: flex;
    align-items: center;
    gap: 6px;
}

.article-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--fp-text-primary);
}

.article-paragraph {
    margin: 0 0 20px 0;
}

.article-paragraph:first-letter {
    font-size: 1.3em;
    font-weight: 600;
}

.article-wrapper h2,
.article-wrapper h3 {
    font-size: 1.05em !important;
    font-weight: 800 !important;
    margin: 20px 0 10px 0 !important;
    color: var(--fp-text-primary) !important;
    line-height: 1.4 !important;
    letter-spacing: 0.3px;
}

.article-wrapper h2 strong,
.article-wrapper h3 strong {
    font-size: 1.05em !important;
    font-weight: 800 !important;
}

.article-wrapper h2[style],
.article-wrapper h3[style] {
    font-size: 1.05em !important;
    font-weight: 800 !important;
}

.article-image {
    margin: 30px 0;
    border-radius: 8px;
    max-width: 100%;
    height: auto;
}

.article-footer {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 2px solid #f0f0f0;
}

.article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.tag {
    display: inline-block;
    padding: 6px 14px;
    background: var(--fp-bg-secondary);
    border: 1px solid #ddd;
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--fp-text-secondary);
    text-decoration: none;
    transition: all 0.2s;
}

.tag:hover {
    background: var(--fp-primary);
    color: white;
    border-color: var(--fp-primary);
}

.article-share {
    margin-top: 20px;
}

.article-share p {
    margin: 0 0 12px 0;
    font-weight: 600;
    color: var(--fp-text-primary);
}

.share-icons {
    display: flex;
    gap: 12px;
}

.share-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--fp-bg-secondary);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s;
    color: var(--fp-primary);
}

.share-icon:hover {
    background: var(--fp-primary);
    color: white;
    transform: scale(1.1);
}

.topic-cluster {
    margin: 30px 0;
    padding: 20px;
    background: var(--fp-bg-secondary);
    border-radius: 8px;
}

.topic-cluster h4 {
    margin-top: 0;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--fp-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.topic-cluster div {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.topic-cluster a {
    display: inline-block;
    padding: 6px 12px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-decoration: none;
    color: var(--fp-primary);
    font-size: 0.9rem;
    transition: all 0.2s;
}

.topic-cluster a:hover {
    background: var(--fp-bg-secondary);
    border-color: var(--fp-primary);
}

@media (max-width: 1024px) {
    .article-layout {
        gap: 30px;
    }

    .article-meta h1 {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    .article-page {
        min-height: auto;
    }

    .article-layout {
        grid-template-columns: 1fr;
    }

    .article-wrapper {
        padding: 24px;
    }

    .article-meta h1 {
        font-size: 1.6rem;
    }

    .article-text {
        font-size: 1rem;
    }

    .sidebar-section {
        padding: 20px;
    }

    .article-byline {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .article-wrapper {
        padding: 16px;
    }

    .article-meta h1 {
        font-size: 1.5rem;
    }

    .article-byline {
        flex-direction: column;
        gap: 8px;
    }

    .sidebar-article-image {
        width: 60px;
        height: 45px;
    }

    .sidebar-article-title {
        font-size: 0.85rem;
    }

    .container {
        padding: 0 16px;
    }
}
