/* ==========================================================================
   Article Page Styles - PVTechnik24
   ========================================================================== */

/* --------------------------------------------------------------------------
   Container
   -------------------------------------------------------------------------- */
.fe-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --------------------------------------------------------------------------
   Article Hero Section
   -------------------------------------------------------------------------- */
.article-hero {
    padding: 100px 0 40px;
    background: linear-gradient(135deg, var(--pv-dark) 0%, #1a2744 100%);
    position: relative;
    overflow: hidden;
}

.article-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(16,185,129,0.15) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(245,158,11,0.1) 0%, transparent 40%);
    pointer-events: none;
}

.article-hero__bg {
    position: relative;
    z-index: 1;
}

.article-hero__shape {
    position: absolute;
    background: var(--pv-gradient);
    opacity: 0.1;
    border-radius: 50%;
    filter: blur(60px);
}

.article-hero__shape--1 {
    top: -50px;
    left: -50px;
    width: 250px;
    height: 250px;
}

.article-hero__shape--2 {
    bottom: -60px;
    right: -60px;
    width: 300px;
    height: 300px;
}

/* Breadcrumb */
.article-hero__breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    z-index: 2;
}

.article-hero__breadcrumb-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.7);
    font-size: 0.875rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.article-hero__breadcrumb-link:hover {
    color: var(--pv-green-light);
}

.article-hero__breadcrumb-link img {
    filter: brightness(0) invert(1);
    opacity: 0.7;
}

.article-hero__breadcrumb-sep {
    filter: brightness(0) invert(1);
    opacity: 0.4;
}

.article-hero__breadcrumb-current {
    color: #fff;
    font-size: 0.875rem;
    font-weight: 600;
}

/* --------------------------------------------------------------------------
   Article Main
   -------------------------------------------------------------------------- */
.article-main {
    padding: 60px 0 80px;
    background: #fafaf8;
}

/* --------------------------------------------------------------------------
   Article Container
   -------------------------------------------------------------------------- */
.article {
    max-width: 900px;
    margin: 0 auto;
    background: #fff;
    border-radius: var(--pv-radius-xl);
    padding: 60px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

/* Article Header */
.article__header {
    margin-bottom: 40px;
}

.article__category {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(16,185,129,0.1);
    border: 1px solid rgba(16,185,129,0.2);
    border-radius: 20px;
    color: var(--pv-green);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 20px;
}

.article__category img {
    filter: sepia(1) saturate(5) hue-rotate(110deg);
}

.article__title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--pv-dark);
    line-height: 1.2;
    margin-bottom: 20px;
}

.article__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
    color: var(--pv-text-muted);
    font-size: 0.938rem;
}

.article__meta-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.article__meta-item img {
    filter: sepia(1) saturate(0) brightness(0.6);
    opacity: 0.7;
}

/* Article Image */
.article__image {
    margin: 0 0 40px;
    border-radius: var(--pv-radius-lg);
    overflow: hidden;
}

.article__image img {
    width: 100%;
    height: auto;
    display: block;
}

.article__image-caption {
    padding: 16px 20px;
    background: #f8f9fa;
    color: var(--pv-text-muted);
    font-size: 0.875rem;
    font-style: italic;
    text-align: center;
}

/* Article Intro */
.article__intro {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--pv-text);
    margin-bottom: 40px;
    padding: 24px;
    background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
    border-left: 4px solid var(--pv-green);
    border-radius: var(--pv-radius);
}

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

/* Article Content */
.article__content {
    font-size: 1.063rem;
    line-height: 1.8;
    color: var(--pv-text);
}

.article__content h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--pv-dark);
    margin-top: 48px;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #e5e7eb;
}

.article__content h2:first-child {
    margin-top: 0;
}

.article__content h3 {
    font-size: 1.375rem;
    font-weight: 600;
    color: var(--pv-dark);
    margin-top: 36px;
    margin-bottom: 16px;
}

.article__content p {
    margin-bottom: 20px;
}

.article__content ul,
.article__content ol {
    margin-bottom: 24px;
    padding-left: 28px;
}

.article__content li {
    margin-bottom: 12px;
    line-height: 1.8;
}

.article__content li::marker {
    color: var(--pv-green);
}

.article__content strong {
    font-weight: 600;
    color: var(--pv-dark);
}

.article__content em {
    font-style: italic;
}

.article__content blockquote {
    margin: 32px 0;
    padding: 20px 24px;
    background: #f8f9fa;
    border-left: 4px solid var(--pv-gold);
    border-radius: var(--pv-radius);
    font-style: italic;
    color: var(--pv-text);
}

.article__content blockquote p:last-child {
    margin-bottom: 0;
}

.article__content code {
    padding: 3px 8px;
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.938rem;
    color: #d97706;
}

.article__content pre {
    margin: 24px 0;
    padding: 20px;
    background: #1f2937;
    border-radius: var(--pv-radius);
    overflow-x: auto;
}

.article__content pre code {
    padding: 0;
    background: none;
    border: none;
    color: #e5e7eb;
    font-size: 0.875rem;
}

.article__content a {
    color: var(--pv-green);
    text-decoration: underline;
    text-decoration-color: rgba(16,185,129,0.3);
    text-underline-offset: 3px;
    transition: all 0.3s ease;
}

.article__content a:hover {
    color: var(--pv-green-dark);
    text-decoration-color: var(--pv-green);
}

/* Article Conclusion */
.article__conclusion {
    margin-top: 48px;
    padding: 28px;
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    border-left: 4px solid var(--pv-gold);
    border-radius: var(--pv-radius-lg);
}

.article__conclusion-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--pv-dark);
    margin-bottom: 16px;
}

.article__conclusion p {
    font-size: 1.063rem;
    line-height: 1.8;
    color: var(--pv-text);
    margin-bottom: 12px;
}

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

/* Article Tags */
.article__tags {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 40px;
    padding-top: 32px;
    border-top: 2px solid #e5e7eb;
    color: var(--pv-text-muted);
    font-size: 0.938rem;
}

.article__tags img {
    filter: sepia(1) saturate(5) hue-rotate(30deg);
}

/* Article CTA */
.article__cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: 48px;
    padding: 28px;
    background: linear-gradient(135deg, var(--pv-dark) 0%, #1a2744 100%);
    border-radius: var(--pv-radius-lg);
}

.article__cta-content {
    flex: 1;
}

.article__cta-title {
    font-size: 1.375rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}

.article__cta-text {
    color: rgba(255,255,255,0.8);
    font-size: 1rem;
    margin: 0;
}

.article__cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    background: var(--pv-green);
    color: #fff;
    font-weight: 600;
    font-size: 1.063rem;
    text-decoration: none;
    border-radius: var(--pv-radius);
    transition: all 0.3s ease;
    white-space: nowrap;
}

.article__cta-btn:hover {
    background: var(--pv-green-light);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(16,185,129,0.3);
}

.article__cta-btn img {
    filter: brightness(0) invert(1);
}

/* --------------------------------------------------------------------------
   Related Articles Section
   -------------------------------------------------------------------------- */
.article-related {
    margin-top: 60px;
    padding-top: 60px;
    border-top: 2px solid #e5e7eb;
}

.article-related__title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--pv-dark);
    text-align: center;
    margin-bottom: 40px;
}

.article-related__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.article-related__card {
    background: #fff;
    border: 2px solid #e5e7eb;
    border-radius: var(--pv-radius-lg);
    padding: 28px 24px;
    transition: all 0.3s ease;
}

.article-related__card:hover {
    border-color: var(--pv-green);
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(16,185,129,0.15);
}

.article-related__link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    text-decoration: none;
    color: inherit;
}

.article-related__icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, rgba(16,185,129,0.1) 0%, rgba(16,185,129,0.05) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.article-related__card:hover .article-related__icon {
    background: var(--pv-gradient);
    transform: rotate(5deg);
}

.article-related__icon img {
    filter: sepia(1) saturate(5) hue-rotate(110deg);
    transition: filter 0.3s ease;
}

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

.article-related__card-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--pv-dark);
    line-height: 1.4;
    margin-bottom: 16px;
}

.article-related__arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: #f3f4f6;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.article-related__card:hover .article-related__arrow {
    background: var(--pv-green);
}

.article-related__arrow img {
    filter: sepia(1) saturate(5) hue-rotate(110deg);
    transition: filter 0.3s ease;
}

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

/* --------------------------------------------------------------------------
   Responsive Styles
   -------------------------------------------------------------------------- */

/* Tablets & Large Mobile */
@media (max-width: 1024px) {
    .fe-container {
        padding: 0 22px;
    }

    .article {
        padding: 48px 40px;
    }

    .article-related__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .fe-container {
        padding: 0 20px;
    }

    .article-hero {
        padding: 100px 0 30px;
    }

    .article-main {
        padding: 50px 0 60px;
    }

    .article {
        padding: 40px 28px;
    }

    .article__title {
        font-size: 1.75rem;
    }

    .article__meta {
        gap: 16px;
        font-size: 0.875rem;
    }

    .article__intro {
        font-size: 1.063rem;
        padding: 20px;
    }

    .article__content {
        font-size: 1rem;
    }

    .article__content h2 {
        font-size: 1.5rem;
        margin-top: 36px;
    }

    .article__content h3 {
        font-size: 1.25rem;
        margin-top: 28px;
    }

    .article__conclusion {
        padding: 24px;
    }

    .article__conclusion-title {
        font-size: 1.25rem;
    }

    .article__cta {
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
        padding: 24px;
    }

    .article__cta-title {
        font-size: 1.25rem;
    }

    .article__cta-btn {
        justify-content: center;
        width: 100%;
    }

    .article-related__grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .article-related__title {
        font-size: 1.75rem;
    }
}

@media (max-width: 600px) {
    .fe-container {
        padding: 0 18px;
    }

    .article-hero {
        padding: 95px 0 28px;
    }

    .article-main {
        padding: 40px 0 50px;
    }

    .article {
        padding: 32px 24px;
    }

    .article__title {
        font-size: 1.5rem;
    }

    .article__image-caption {
        font-size: 0.813rem;
        padding: 12px 16px;
    }

    .article__content h2 {
        font-size: 1.375rem;
        margin-top: 32px;
    }

    .article__content h3 {
        font-size: 1.125rem;
        margin-top: 24px;
    }

    .article__conclusion {
        padding: 20px;
    }

    .article__cta {
        padding: 20px;
    }

    .article__cta-title {
        font-size: 1.125rem;
    }

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

    .article-related__card {
        padding: 24px 20px;
    }

    .article-related__icon {
        width: 56px;
        height: 56px;
    }
}

@media (max-width: 480px) {
    .fe-container {
        padding: 0 16px;
    }

    .article-hero {
        padding: 90px 0 25px;
    }

    .article-main {
        padding: 35px 0 45px;
    }

    .article {
        padding: 28px 20px;
    }

    .article__title {
        font-size: 1.375rem;
    }

    .article__meta {
        gap: 12px;
    }

    .article__intro {
        font-size: 1rem;
        padding: 18px;
    }

    .article__content {
        font-size: 0.938rem;
    }

    .article__content h2 {
        font-size: 1.25rem;
        margin-top: 28px;
    }

    .article__content h3 {
        font-size: 1.063rem;
        margin-top: 20px;
    }

    .article__conclusion-title {
        font-size: 1.063rem;
    }

    .article__cta-title {
        font-size: 1.063rem;
    }

    .article__cta-btn {
        padding: 14px 24px;
        font-size: 1rem;
    }

    .article-related__card-title {
        font-size: 1rem;
    }
}

@media (max-width: 375px) {
    .fe-container {
        padding: 0 14px;
    }

    .article-hero {
        padding: 85px 0 22px;
    }

    .article {
        padding: 24px 18px;
    }

    .article__title {
        font-size: 1.25rem;
    }

    .article__intro {
        font-size: 0.938rem;
        padding: 16px;
    }

    .article__content {
        font-size: 0.875rem;
    }

    .article__cta {
        padding: 18px;
    }
}
