main::before {
  content: '';
  position: absolute;
  inset: 0;
  height: fit-content !important;
  pointer-events: none;
}

.article-main {
    height: fit-content;
    min-height: calc(100vh - 200px);
    padding-top: 0;
    padding-bottom: 0;
    background: white;
    display: block;
    width: 100%;
}

.article-header {
    background: linear-gradient(135deg, #E5E9EB, #99B8BD);
    padding: 140px 0px 80px;
    position: relative;
    width: 100%;
    display: block;
}

.article-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100%25' height='100%25'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.6' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.5'/%3E%3C/svg%3E");
    pointer-events: none;
}

.article-header * {
    position: relative;
    z-index: 1;
}

.article-header-content {
    max-width: 800px;
    margin: 0 auto;
    display: block;
    width: 100%;
}

.article-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 0px 80px;
    background: white;
    display: block;
    width: 100%;
}

.article-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    margin-bottom: 40px;
    transition: gap 0.3s ease;
}

.article-back:hover {
    gap: 12px;
}

.article-back svg {
    transition: transform 0.3s ease;
}

.article-back:hover svg {
    transform: translateX(-3px);
}

.article-category {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.article-title {
    font-size: 48px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 24px;
    line-height: 1.3;
    display: block;
    width: 100%;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 14px;
    color: var(--secondary-color);
    justify-content: center;
}

.article-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.article-content {
    background: white;
    padding: 0;
    margin-bottom: 40px;
    line-height: 1.8;
    word-wrap: break-word;
    overflow-wrap: break-word;
    display: block;
    width: 100%;
}

.article-content h1,
.article-content h2,
.article-content h3 {
    color: var(--primary-color);
    margin-top: 32px;
    margin-bottom: 16px;
}

.article-content h1 {
    font-size: 36px;
}

.article-content h2 {
    font-size: 28px;
}

.article-content h3 {
    font-size: 22px;
}

.article-content p {
    margin-bottom: 20px;
    color: #333;
    font-size: 16px;
}

.article-content ul,
.article-content ol {
    margin-bottom: 20px;
    padding-left: 30px;
}

.article-content li {
    margin-bottom: 10px;
    color: #333;
}

.article-content code {
    background: #f5f5f5;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    color: #d63384;
}

.article-content pre {
    background: #2d2d2d;
    color: #f8f8f2;
    padding: 20px;
    border-radius: 8px;
    overflow-x: auto;
    margin-bottom: 20px;
}

.article-content pre code {
    background: none;
    color: inherit;
    padding: 0;
}

.article-content blockquote {
    border-left: 4px solid var(--primary-color);
    padding-left: 20px;
    margin: 20px 0;
    font-style: italic;
    color: var(--secondary-color);
}

.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
}

.article-content a {
    color: var(--primary-color);
    text-decoration: underline;
}

.article-content a:hover {
    color: #1f3e44;
}

@media (max-width: 768px) {
    .article-header {
        padding: 120px 0px 60px;
    }

    .article-title {
        font-size: 32px;
    }

    .article-container {
        padding: 40px 0px 60px;
        width: 80%;
    }

    .article-content {
        padding: 0;
    }
}

@media (max-width: 480px) {
    .article-header {
        padding: 100px 0px 50px;
    }

    .article-title {
        font-size: 26px;
    }

    .article-container {
        padding: 30px 0px 50px;
        width: 80%;
    }
}
