/* ================================
   SINGLE ARTICLE STYLES
   ================================ */

/* Article Hero Section */
.article-hero {
    background: var(--color-bg);
    padding-bottom: 40px !important;
}

.article-hero-content {
    max-width: 846px;
    margin: 0 auto;
    text-align: left;
}

/* Обмеження ширини контенту для Single Service */
.single-service .container-1280,
.single-service .container {
    max-width: 846px !important;

}

/* Якщо ви хочете, щоб заголовок (Hero), який ми додавали, теж був 846px */
.single-service .service-hero .container {
    max-width: 846px !important;
}

/* Корекція для мобільних пристроїв, щоб контент не виходив за межі екрану */
@media (max-width: 886px) {
    .single-service .container-1280,
    .single-service .container {
        max-width: 100% !important;

    }
}

.text-editor-section {
    padding-top: 60px;
}

.article-date {
    font-family: var(--font-menu);
    font-style: normal;
    font-weight: 900;
    font-size: 20px;
    line-height: 120%;
    text-transform: uppercase;
    color: var(--color-secondary);
    display: block;
    margin-bottom: 40px;
}

.article-title {
    font-family: var(--font-logo);
    font-style: normal;
    font-weight: 700;
    font-size: 68px;
    line-height: 64px;
    color: #FFFFFF;
    margin-bottom: 56px;
}

.article-featured-image {
    max-width: 846px;
    margin: 0 auto;
}

.article-featured-image img {
    width: 100%;
    height: 520px;
    object-fit: cover;
    border-radius: 25px;
}

/* Article Content Section */
.article-content-section {
    background: var(--color-bg);
    padding-top: 0px;
}

.article-content-wrapper {
    max-width: 846px;
    margin: 0 auto;
}

/* Text Paragraph */
.article-text {
    font-family: var(--font-menu);
    font-style: normal;
    font-weight: 500;
    font-size: 22px;
    line-height: 30px;
    color: #EEEEEE;
    margin-bottom: 30px;
}

/* Headings */
.article-heading {
    font-family: var(--font-menu);
    font-style: normal;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: #FFFFFF;
    margin-top: 48px;
    margin-bottom: 24px;
}

.article-h2 {
    font-size: 40px;
    line-height: 48px;
}

.article-h3 {
    font-size: 30px;
    line-height: 38px;
}

/* Quote Block */
.article-quote {
    background: #4E30B3;
    border-radius: 20px;
    padding: 40px;
    margin: 40px 0;
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.article-quote-line {
    width: 12px;
    min-height: 100%;
    background: var(--color-secondary);
    border-radius: 6px;
    flex-shrink: 0;
}

.article-quote-text {
    font-family: var(--font-menu);
    font-style: normal;
    font-weight: 500;
    font-size: 22px;
    line-height: 30px;
    color: #FFFFFF;
    margin: 0;
}

/* Article Image */
.article-image {
    margin: 40px 0;
}

.article-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
}

.article-image-caption {
    font-family: var(--font-menu);
    font-size: 16px;
    line-height: 24px;
    color: #AAAAAA;
    margin-top: 12px;
    text-align: center;
}

/* Article List */
.article-list {
    font-family: var(--font-menu);
    font-style: normal;
    font-weight: 500;
    font-size: 22px;
    line-height: 30px;
    color: #EEEEEE;
    margin: 24px 0;
    padding-left: 40px;
}

.article-list li {
    margin-bottom: 12px;
    padding-left: 8px;
}

.article-list li::marker {
    color: var(--color-secondary);
}

/* Related Posts Section */
.article-related {
    background: var(--color-bg);
}

.related-heading {
    font-family: var(--font-logo);
    font-style: normal;
    font-weight: 700;
    font-size: 72px;
    line-height: 64px;
    color: #FFFFFF;
    margin-bottom: 40px;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* Reuse blog card styles */
.article-related .blog-post-card {
    /* Same styles as blog listing page */
}

/* ================================
   RESPONSIVE - TABLET
   ================================ */

@media (max-width: 1024px) {
    .article-title {
        font-size: 56px;
        line-height: 56px;
    }

    .article-featured-image img {
        height: 400px;
    }
    
    .article-text,
    .article-quote-text,
    .article-list {
        font-size: 20px;
        line-height: 28px;
    }
    
    .article-h2 {
        font-size: 36px;
        line-height: 44px;
    }
    
    .article-h3 {
        font-size: 28px;
        line-height: 36px;
    }
    
    .article-quote {
        padding: 32px;
    }
    
    .related-heading {
        font-size: 60px;
        line-height: 56px;
    }
    
    .related-posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ================================
   RESPONSIVE - MOBILE
   ================================ */

@media (max-width: 768px) {
    .article-title {
        font-size: 40px;
        line-height: 44px;
        margin-bottom: 32px;
    }


    
    .article-date {
        font-size: 18px;
        margin-bottom: 16px;
    }
    
    .article-featured-image img {
        height: 300px;
    }
    
    .article-text,
    .article-quote-text,
    .article-list {
        font-size: 18px;
        line-height: 26px;
    }
    
    .article-h2 {
        font-size: 32px;
        line-height: 40px;
    }
    
    .article-h3 {
        font-size: 24px;
        line-height: 32px;
    }
    
    .article-quote {
        padding: 24px;
        gap: 16px;
    }
    
    .article-quote-line {
        width: 8px;
    }
    
    .related-heading {
        font-size: 48px;
        line-height: 48px;
        margin-bottom: 40px;
    }
    
    .related-posts-grid {
        grid-template-columns: 1fr;
    }
    
    .article-list {
        padding-left: 28px;
    }
}

@media (max-width: 480px) {
    .article-title {
        font-size: 32px;
        line-height: 36px;
    }
    
    .article-featured-image img {
        height: 240px;
    }
    
    .article-text,
    .article-quote-text,
    .article-list {
        font-size: 16px;
        line-height: 24px;
    }
    
    .article-h2 {
        font-size: 28px;
        line-height: 36px;
    }
    
    .article-h3 {
        font-size: 22px;
        line-height: 30px;
    }
    
    .article-quote {
        padding: 20px;
    }
    
    .related-heading {
        font-size: 40px;
        line-height: 44px;
    }
}