/* ===== ARTICLE PAGE STYLES ===== */
/* Color scheme: Green (#48bb78) based on main site design */

:root {
    --art-primary: #48bb78;
    --art-primary-dark: #38a169;
    --art-primary-light: #68d391;
    --art-secondary: #1a365d;
    --art-text: #2d3748;
    --art-text-light: #718096;
    --art-bg-light: #f7fafc;
    --art-bg-lighter: #edf2f7;
    --art-white: #ffffff;
    --art-border: #e2e8f0;
}

/* ===== ARTICLE HERO ===== */
.art-hero {
    background: linear-gradient(135deg, #f0fff4 0%, #c6f6d5 100%);
    padding: 2rem 0 1.5rem 0;
}

.art-hero__container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
}

.art-hero__breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--art-text-light);
    line-height: 1;
}

.art-hero__breadcrumb a {
    color: var(--art-primary);
    text-decoration: none;
    transition: color 0.3s ease;
    line-height: 1;
}

.art-hero__breadcrumb span {
    line-height: 1;
}

.art-hero__breadcrumb a:hover {
    color: var(--art-primary-dark);
}

/* ===== ARTICLE MAIN ===== */
.art-main {
    padding: 3rem 0;
    background: var(--art-white);
}

.art-main__container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ===== ARTICLE POST ===== */
.art-post {
    background: var(--art-white);
}

/* Article Header */
.art-post__header {
    margin-bottom: 2.5rem;
}

.art-post__category {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(72, 187, 120, 0.1);
    color: var(--art-primary);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.art-post__title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--art-secondary);
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.art-post__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.art-post__meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--art-text-light);
}

.art-post__meta-item img {
    filter: sepia(1) saturate(3) hue-rotate(90deg);
}

/* Featured Image */
.art-post__image {
    margin: 2.5rem 0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.art-post__image img {
    width: 100%;
    height: auto;
    display: block;
}

.art-post__caption {
    background: var(--art-bg-light);
    padding: 1rem 1.5rem;
    font-size: 0.9rem;
    color: var(--art-text-light);
    font-style: italic;
    text-align: center;
}

/* Introduction */
.art-post__intro {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--art-text);
    margin-bottom: 2.5rem;
    padding-left: 1.5rem;
    border-left: 4px solid var(--art-primary);
    background: rgba(72, 187, 120, 0.05);
    padding: 1.5rem;
    border-radius: 8px;
}

.art-post__intro p {
    margin: 0;
}

/* Main Content */
.art-post__content {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--art-text);
    margin-bottom: 2.5rem;
}

.art-post__content h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--art-secondary);
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.art-post__content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--art-secondary);
    margin-top: 2rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.art-post__content p {
    margin-bottom: 1.5rem;
}

.art-post__content ul,
.art-post__content ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.art-post__content li {
    margin-bottom: 0.8rem;
}

.art-post__content ul li::marker {
    color: var(--art-primary);
}

.art-post__content strong {
    color: var(--art-secondary);
    font-weight: 600;
}

.art-post__content a {
    color: var(--art-primary);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.art-post__content a:hover {
    color: var(--art-primary-dark);
}

.art-post__content blockquote {
    background: var(--art-bg-light);
    border-left: 4px solid var(--art-primary);
    padding: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: var(--art-text);
    border-radius: 8px;
}

.art-post__content code {
    background: var(--art-bg-lighter);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
    color: var(--art-primary-dark);
}

.art-post__content pre {
    background: var(--art-bg-lighter);
    padding: 1.5rem;
    border-radius: 8px;
    overflow-x: auto;
    margin: 1.5rem 0;
}

.art-post__content pre code {
    background: none;
    padding: 0;
}

/* Conclusion */
.art-post__conclusion {
    background: rgba(72, 187, 120, 0.05);
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 2.5rem;
    border: 2px solid rgba(72, 187, 120, 0.2);
}

.art-post__conclusion h2 {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--art-secondary);
    margin-bottom: 1rem;
}

.art-post__conclusion p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--art-text);
    margin: 0;
}

.art-post__conclusion a {
    color: var(--art-primary);
    text-decoration: underline;
    font-weight: 600;
    transition: color 0.3s ease;
}

.art-post__conclusion a:hover {
    color: var(--art-primary-dark);
}

/* Tags */
.art-post__tags {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1.5rem;
    background: var(--art-bg-light);
    border-radius: 8px;
    margin-bottom: 3rem;
}

.art-post__tags img {
    filter: sepia(1) saturate(3) hue-rotate(90deg);
}

.art-post__tags span {
    font-size: 0.95rem;
    color: var(--art-text);
}

/* ===== CTA BANNER ===== */
.art-cta {
    background: linear-gradient(135deg, var(--art-primary) 0%, var(--art-primary-dark) 100%);
    border-radius: 16px;
    padding: 2rem 2.5rem;
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 3rem;
    box-shadow: 0 8px 32px rgba(72, 187, 120, 0.3);
}

.art-cta__icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.art-cta__content {
    flex: 1;
}

.art-cta__title {
    font-size: 1.3rem;
    color: var(--art-white);
    margin-bottom: 0.5rem;
    display: block;
}

.art-cta__text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    margin: 0;
}

.art-cta__btn {
    background: var(--art-white);
    color: var(--art-primary);
    padding: 0.9rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.art-cta__btn:hover {
    background: rgba(255, 255, 255, 0.95);
    transform: translateX(5px);
    gap: 1rem;
}

/* ===== RELATED ARTICLES ===== */
.art-related {
    margin-top: 4rem;
}

.art-related__title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--art-secondary);
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.art-related__title img {
    filter: sepia(1) saturate(3) hue-rotate(90deg);
}

.art-related__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.art-related__card {
    background: var(--art-bg-light);
    border: 2px solid var(--art-border);
    border-radius: 12px;
    padding: 1.8rem;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.art-related__card:hover {
    background: var(--art-white);
    border-color: var(--art-primary);
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(72, 187, 120, 0.15);
}

.art-related__icon {
    width: 48px;
    height: 48px;
    background: var(--art-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.art-related__card:hover .art-related__icon {
    background: var(--art-primary);
    transform: rotate(10deg) scale(1.1);
}

.art-related__card:hover .art-related__icon img {
    filter: brightness(0) invert(1);
}

.art-related__card-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--art-secondary);
    line-height: 1.4;
    margin: 0;
    flex: 1;
}

.art-related__arrow {
    align-self: flex-end;
    width: 32px;
    height: 32px;
    background: rgba(72, 187, 120, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.art-related__card:hover .art-related__arrow {
    background: var(--art-primary);
    transform: translateX(4px);
}

.art-related__card:hover .art-related__arrow img {
    filter: brightness(0) invert(1);
}

/* ===== MOBILE RESPONSIVE ===== */
@media (max-width: 768px) {
    .art-hero {
        padding: 1.5rem 0 1rem 0;
    }

    .art-hero__container,
    .art-main__container {
        padding: 0 1rem;
    }

    .art-main {
        padding: 2rem 0;
    }

    .art-post__title {
        font-size: 1.8rem;
    }

    .art-post__meta {
        flex-direction: column;
        gap: 0.8rem;
    }

    .art-post__intro {
        font-size: 1.1rem;
        padding: 1.2rem;
    }

    .art-post__content {
        font-size: 1rem;
    }

    .art-post__content h2 {
        font-size: 1.5rem;
        margin-top: 2rem;
    }

    .art-post__content h3 {
        font-size: 1.3rem;
    }

    .art-post__conclusion {
        padding: 1.5rem;
    }

    .art-cta {
        flex-direction: column;
        text-align: center;
        padding: 2rem 1.5rem;
    }

    .art-cta__title {
        font-size: 1.1rem;
    }

    .art-cta__text {
        font-size: 0.9rem;
    }

    .art-cta__btn {
        width: 100%;
        justify-content: center;
    }

    .art-related__grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .art-related__title {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .art-post__title {
        font-size: 1.5rem;
    }

    .art-post__category {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }

    .art-post__intro {
        font-size: 1rem;
        padding: 1rem;
    }

    .art-post__content h2 {
        font-size: 1.3rem;
    }

    .art-post__content h3 {
        font-size: 1.15rem;
    }

    .art-post__conclusion h2 {
        font-size: 1.3rem;
    }

    .art-related__card {
        padding: 1.5rem;
    }
}
