/**
 * Article Page Styles - SchlossProfi24
 */

/* =====================
   Article Hero
   ===================== */
.article-hero {
    position: relative;
    padding: 140px 20px 40px;
    background: linear-gradient(135deg, #0a0f1a 0%, #1a2540 100%);
    overflow: hidden;
}

.article-hero__bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.article-hero__shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
}

.article-hero__shape--1 {
    width: 350px;
    height: 350px;
    background: #00d4ff;
    top: -80px;
    right: -80px;
}

.article-hero__shape--2 {
    width: 250px;
    height: 250px;
    background: #ffc107;
    bottom: -40px;
    left: -40px;
}

.fe-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Breadcrumb */
.article-hero__breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.article-hero__breadcrumb-link {
    display: flex;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.2s;
}

.article-hero__breadcrumb-link:hover {
    color: #00d4ff;
}

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

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

.article-hero__breadcrumb-current {
    color: #00d4ff;
}

/* =====================
   Article Main
   ===================== */
.article-main {
    background: #f8fafc;
    padding: 50px 20px 80px;
}

.article {
    background: #fff;
    border-radius: 20px;
    padding: 50px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.06);
    margin-bottom: 50px;
}

/* Article Header */
.article__header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid #e5e7eb;
}

.article__category {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 50px;
    color: #00d4ff;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 20px;
}

.article__category img {
    width: 16px;
    height: 16px;
    filter: invert(1) sepia(1) saturate(5) hue-rotate(160deg);
}

.article__title {
    font-size: 36px;
    font-weight: 700;
    color: #0a0f1a;
    margin: 0 0 20px;
    line-height: 1.3;
}

.article__meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.article__meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #64748b;
}

.article__meta-item img {
    width: 16px;
    height: 16px;
    opacity: 0.6;
}

/* Article Image */
.article__image {
    margin: 0 0 40px;
    border-radius: 16px;
    overflow: hidden;
}

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

.article__image-caption {
    padding: 12px 16px;
    background: #f1f5f9;
    font-size: 14px;
    color: #64748b;
    text-align: center;
}

/* Article Intro */
.article__intro {
    font-size: 18px;
    line-height: 1.8;
    color: #374151;
    margin-bottom: 30px;
    padding-left: 20px;
    border-left: 4px solid #00d4ff;
}

.article__intro p {
    margin: 0;
}

/* Article Content */
.article__content {
    font-size: 17px;
    line-height: 1.8;
    color: #374151;
}

.article__content h2 {
    font-size: 26px;
    font-weight: 700;
    color: #0a0f1a;
    margin: 40px 0 20px;
}

.article__content h3 {
    font-size: 22px;
    font-weight: 600;
    color: #0a0f1a;
    margin: 30px 0 15px;
}

.article__content p {
    margin: 0 0 20px;
}

.article__content ul,
.article__content ol {
    margin: 0 0 20px;
    padding-left: 24px;
}

.article__content li {
    margin-bottom: 10px;
}

.article__content blockquote {
    margin: 30px 0;
    padding: 20px 24px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.05) 0%, rgba(0, 212, 255, 0.1) 100%);
    border-left: 4px solid #00d4ff;
    border-radius: 0 12px 12px 0;
    font-style: italic;
    color: #1a2540;
}

.article__content blockquote p {
    margin: 0;
}

.article__content a {
    color: #00d4ff;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.article__content a:hover {
    color: #0099cc;
}

.article__content strong {
    color: #0a0f1a;
}

/* Article Conclusion */
.article__conclusion {
    margin: 40px 0;
    padding: 30px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 16px;
}

.article__conclusion-title {
    font-size: 22px;
    font-weight: 700;
    color: #0a0f1a;
    margin: 0 0 15px;
}

.article__conclusion p {
    margin: 0;
    font-size: 16px;
    line-height: 1.7;
    color: #374151;
}

/* Article Tags */
.article__tags {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 20px 0;
    border-top: 1px solid #e5e7eb;
    margin-top: 40px;
}

.article__tags img {
    width: 16px;
    height: 16px;
    filter: invert(1) sepia(1) saturate(5) hue-rotate(35deg);
}

.article__tags span {
    font-size: 14px;
    color: #64748b;
}

/* Article CTA */
.article__cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    margin-top: 40px;
    padding: 30px;
    background: linear-gradient(135deg, #0a0f1a 0%, #1a2540 100%);
    border-radius: 16px;
}

.article__cta-content {
    flex: 1;
}

.article__cta-title {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 8px;
}

.article__cta-text {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.article__cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 28px;
    background: linear-gradient(135deg, #00d4ff 0%, #00b8e6 100%);
    border-radius: 12px;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.3s, box-shadow 0.3s;
    white-space: nowrap;
}

.article__cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 212, 255, 0.4);
}

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

/* =====================
   Related Articles
   ===================== */
.article-related {
    margin-top: 60px;
}

.article-related__title {
    font-size: 28px;
    font-weight: 700;
    color: #0a0f1a;
    margin: 0 0 30px;
    text-align: center;
}

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

.article-related__card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s, box-shadow 0.3s;
}

.article-related__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.article-related__link {
    display: block;
    padding: 30px;
    text-decoration: none;
    position: relative;
}

.article-related__icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1) 0%, rgba(0, 212, 255, 0.2) 100%);
    border-radius: 14px;
    margin-bottom: 20px;
}

.article-related__icon img {
    width: 24px;
    height: 24px;
}

.article-related__card-title {
    font-size: 18px;
    font-weight: 600;
    color: #0a0f1a;
    margin: 0 0 15px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

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

.article-related__arrow img {
    width: 18px;
    height: 18px;
    opacity: 0.6;
}

.article-related__card:hover .article-related__arrow {
    background: #00d4ff;
    transform: translateX(4px);
}

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

/* =====================
   Responsive - 1024px
   ===================== */
@media (max-width: 1024px) {
    .article-hero {
        padding: 120px 20px 35px;
    }

    .article {
        padding: 40px;
    }

    .article__title {
        font-size: 30px;
    }

    .article__content h2 {
        font-size: 24px;
    }

    .article__content h3 {
        font-size: 20px;
    }

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

/* =====================
   Responsive - 768px
   ===================== */
@media (max-width: 768px) {
    .article-hero {
        padding: 110px 15px 30px;
    }

    .article-hero__breadcrumb {
        font-size: 13px;
    }

    .article {
        padding: 30px 24px;
        border-radius: 16px;
    }

    .article__title {
        font-size: 26px;
    }

    .article__meta {
        gap: 12px;
    }

    .article__meta-item {
        font-size: 13px;
    }

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

    .article__content {
        font-size: 16px;
    }

    .article__content h2 {
        font-size: 22px;
        margin: 30px 0 15px;
    }

    .article__content h3 {
        font-size: 18px;
        margin: 25px 0 12px;
    }

    .article__cta {
        flex-direction: column;
        text-align: center;
        padding: 25px;
    }

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

    .article-related__title {
        font-size: 24px;
    }

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

    .article-related__link {
        padding: 24px;
    }
}

/* =====================
   Responsive - 480px
   ===================== */
@media (max-width: 480px) {
    .article-hero {
        padding: 100px 12px 25px;
    }

    .fe-container {
        padding: 0 12px;
    }

    .article-hero__breadcrumb {
        font-size: 12px;
        gap: 6px;
    }

    .article {
        padding: 24px 18px;
        border-radius: 14px;
    }

    .article__category {
        padding: 6px 12px;
        font-size: 12px;
    }

    .article__title {
        font-size: 22px;
    }

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

    .article__intro {
        font-size: 15px;
        padding-left: 14px;
    }

    .article__content {
        font-size: 15px;
    }

    .article__content h2 {
        font-size: 20px;
    }

    .article__content h3 {
        font-size: 17px;
    }

    .article__content blockquote {
        padding: 16px 18px;
        margin: 20px 0;
    }

    .article__conclusion {
        padding: 24px 20px;
    }

    .article__conclusion-title {
        font-size: 20px;
    }

    .article__cta {
        padding: 20px;
        margin-top: 30px;
    }

    .article__cta-title {
        font-size: 18px;
    }

    .article__cta-text {
        font-size: 14px;
    }

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

    .article-related {
        margin-top: 40px;
    }

    .article-related__title {
        font-size: 22px;
        margin-bottom: 20px;
    }

    .article-related__link {
        padding: 20px;
    }

    .article-related__icon {
        width: 48px;
        height: 48px;
        margin-bottom: 16px;
    }

    .article-related__card-title {
        font-size: 16px;
    }
}

/* =====================
   Responsive - 375px
   ===================== */
@media (max-width: 375px) {
    .article-hero {
        padding: 95px 10px 20px;
    }

    .article {
        padding: 20px 14px;
        border-radius: 12px;
    }

    .article__title {
        font-size: 20px;
    }

    .article__content {
        font-size: 14px;
    }

    .article__content h2 {
        font-size: 18px;
    }

    .article__content h3 {
        font-size: 16px;
    }

    .article__cta-title {
        font-size: 17px;
    }

    .article-related__title {
        font-size: 20px;
    }

    .article-related__card-title {
        font-size: 15px;
    }
}
