/* =====================================================
   ARTICLE PAGE STYLES - BodenProfis Wien
   Teal color scheme: #1a3a3a, #0d4f4f, #1a5f5f
   ===================================================== */

/* =====================================================
   ARTICLE HERO SECTION
   ===================================================== */

.article-hero {
    position: relative;
    padding: 140px 0 60px;
    background: linear-gradient(135deg, #1a3a3a 0%, #0d4f4f 50%, #1a5f5f 100%);
    overflow: hidden;
}

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

.article-hero__shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.08;
    background: #fff;
}

.article-hero__shape--1 {
    width: 400px;
    height: 400px;
    top: -150px;
    right: -100px;
}

.article-hero__shape--2 {
    width: 300px;
    height: 300px;
    bottom: -100px;
    left: -80px;
}

.fe-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Breadcrumb */
.article-hero__breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

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

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

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

.article-hero__breadcrumb-current {
    color: #fff;
    font-size: 14px;
    font-weight: 500;
}

/* =====================================================
   ARTICLE MAIN CONTENT
   ===================================================== */

.article-main {
    background: #f8f9fa;
    padding: 60px 0 80px;
}

.article {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

/* Article Header */
.article__header {
    padding: 40px 40px 0;
}

.article__category {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #e8f5f5 0%, #d4eded 100%);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    color: #0d4f4f;
    margin-bottom: 20px;
}

.article__category img {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    filter: invert(25%) sepia(50%) saturate(500%) hue-rotate(140deg);
}

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

.article__meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    padding-bottom: 30px;
    border-bottom: 1px solid #eee;
}

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

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

/* Article Image */
.article__image {
    margin: 0;
    padding: 30px 40px;
}

.article__image img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    object-fit: cover;
}

.article__image-caption {
    margin-top: 12px;
    font-size: 13px;
    color: #888;
    text-align: center;
    font-style: italic;
}

/* Article Intro */
.article__intro {
    padding: 0 40px 30px;
    font-size: 18px;
    line-height: 1.7;
    color: #444;
    border-bottom: 1px solid #eee;
}

.article__intro p {
    margin: 0;
}

/* Article Content */
.article__content {
    padding: 30px 40px;
    font-size: 16px;
    line-height: 1.8;
    color: #333;
}

.article__content h2 {
    font-size: 26px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 40px 0 20px;
    padding-left: 16px;
    border-left: 4px solid #0d4f4f;
}

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

.article__content h3 {
    font-size: 20px;
    font-weight: 600;
    color: #1a1a2e;
    margin: 30px 0 16px;
}

.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, #f0f9f9 0%, #e8f5f5 100%);
    border-left: 4px solid #0d4f4f;
    border-radius: 0 12px 12px 0;
    font-style: italic;
    color: #444;
}

.article__content blockquote p {
    margin: 0;
}

.article__content a {
    color: #0d4f4f;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s;
}

.article__content a:hover {
    color: #1a5f5f;
}

.article__content strong {
    color: #1a1a2e;
}

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

.article__conclusion-title {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 16px;
}

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

.article__conclusion a {
    color: #0d4f4f;
    text-decoration: underline;
}

/* Article Tags */
.article__tags {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 40px 30px;
    font-size: 14px;
    color: #666;
}

.article__tags img {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    filter: invert(50%) sepia(80%) saturate(500%) hue-rotate(15deg);
}

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

.article__cta-content {
    flex: 1;
}

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

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

.article__cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    background: #fff;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    color: #0d4f4f;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
    flex-shrink: 0;
}

.article__cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.article__cta-btn img {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    filter: invert(25%) sepia(50%) saturate(500%) hue-rotate(140deg);
}

/* =====================================================
   RELATED ARTICLES
   ===================================================== */

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

.article-related__title {
    font-size: 28px;
    font-weight: 700;
    color: #1a1a2e;
    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;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.article-related__card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.article-related__link {
    display: block;
    padding: 28px 24px;
    text-decoration: none;
    color: inherit;
}

.article-related__icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, #e8f5f5 0%, #d4eded 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}

.article-related__icon img {
    width: 24px;
    height: 24px;
    filter: invert(25%) sepia(50%) saturate(500%) hue-rotate(140deg);
}

.article-related__card-title {
    font-size: 17px;
    font-weight: 600;
    color: #1a1a2e;
    line-height: 1.4;
    margin: 0 0 16px;
    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: #f5f5f5;
    border-radius: 50%;
    transition: all 0.2s;
}

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

.article-related__card:hover .article-related__arrow {
    background: #0d4f4f;
}

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

/* =====================================================
   RESPONSIVE - 1200px
   ===================================================== */

@media (max-width: 1200px) {
    .article-hero {
        padding: 130px 0 50px;
    }

    .article__title {
        font-size: 32px;
    }
}

/* =====================================================
   RESPONSIVE - 1024px
   ===================================================== */

@media (max-width: 1024px) {
    .article-related__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .article-related__card:last-child {
        display: none;
    }
}

/* =====================================================
   RESPONSIVE - 768px
   ===================================================== */

@media (max-width: 768px) {
    .article-hero {
        padding: 120px 0 40px;
    }

    .article {
        border-radius: 16px;
        margin: 0 -8px;
    }

    .article__header {
        padding: 30px 24px 0;
    }

    .article__title {
        font-size: 26px;
    }

    .article__meta {
        gap: 14px;
    }

    .article__image {
        padding: 24px;
    }

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

    .article__content {
        padding: 24px;
    }

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

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

    .article__conclusion {
        margin: 0 24px 24px;
        padding: 24px;
    }

    .article__tags {
        padding: 0 24px 24px;
    }

    .article__cta {
        flex-direction: column;
        text-align: center;
        margin: 0 24px 30px;
        padding: 24px;
    }

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

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

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

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

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

    .article-related__card:last-child {
        display: block;
    }
}

/* =====================================================
   RESPONSIVE - 480px
   ===================================================== */

@media (max-width: 480px) {
    .article-hero {
        padding: 110px 0 30px;
    }

    .article-hero__breadcrumb {
        gap: 8px;
    }

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

    .article__header {
        padding: 24px 20px 0;
    }

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

    .article__title {
        font-size: 22px;
    }

    .article__meta {
        gap: 12px;
    }

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

    .article__image {
        padding: 20px;
    }

    .article__image img {
        border-radius: 12px;
    }

    .article__intro {
        padding: 0 20px 20px;
        font-size: 15px;
    }

    .article__content {
        padding: 20px;
        font-size: 15px;
    }

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

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

    .article__content blockquote {
        padding: 16px 18px;
    }

    .article__conclusion {
        margin: 0 20px 20px;
        padding: 20px;
    }

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

    .article__tags {
        padding: 0 20px 20px;
        font-size: 13px;
    }

    .article__cta {
        margin: 0 20px 24px;
        padding: 20px;
    }

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

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

    .article__cta-btn {
        padding: 12px 20px;
        font-size: 14px;
    }

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

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

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

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

/* =====================================================
   RESPONSIVE - 375px
   ===================================================== */

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

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

    .article {
        border-radius: 12px;
    }

    .article__header {
        padding: 20px 16px 0;
    }

    .article__title {
        font-size: 20px;
    }

    .article__image {
        padding: 16px;
    }

    .article__intro {
        padding: 0 16px 16px;
    }

    .article__content {
        padding: 16px;
    }

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

    .article__conclusion {
        margin: 0 16px 16px;
        padding: 16px;
    }

    .article__tags {
        padding: 0 16px 16px;
    }

    .article__cta {
        margin: 0 16px 20px;
        padding: 16px;
    }

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

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

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

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

    .article-related__link {
        padding: 20px 16px;
    }
}
