/* css/blog-article.css */
body {
    font-size: 16px;
    background-color: var(--theme-smoke, #deddda);
}

article {
    max-width: 1000px;
    margin: 0 auto;
    background-color: #fff;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
}

.article-hero {
    background-color: var(--theme-green);
    color: #fff;
    padding: clamp(72px, 10vw, 128px) max(20px, 5%) 64px;
    text-align: center;
    position: relative;
}

.article-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.article-hero-category {
    display: inline-block;
    background-color: var(--theme-orange, #F37021);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 6px 15px;
    border-radius: 2px;
    margin-bottom: 24px;
}

.article-hero-title {
    color: #fff;
    font-size: clamp(40px, 6vw, 72px);
    line-height: 1.2;
    margin: 0 0 24px 0;
    font-family: var(--font-heading, serif);
}

.article-hero-meta {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7);
    font-style: italic;
}

/* Featured Image */
.article-cover-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
}

/* Rich Text Content */
.article-content-container {
    padding: 64px max(20px, 10%) 96px;
    font-size: 17px;
    line-height: 1.8;
    color: #333;
    font-family: var(--font-body, sans-serif);
}

/* Quill Overrides for Digital Magazine Look */
.ql-editor {
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
    padding: 25px !important;
}

.ql-editor p {
    margin-bottom: 24px;
}

/* Drop cap for first paragraph */
.ql-editor > p:first-of-type::first-letter {
    float: left;
    font-size: 64px;
    line-height: 1;
    font-weight: 700;
    color: var(--theme-orange, #F37021);
    margin-right: 8px;
    margin-top: 3px;
    font-family: var(--font-heading, serif);
}

.ql-editor h2, .ql-editor h3, .ql-editor h4 {
    font-family: var(--font-heading, serif);
    color: var(--theme-green);
    margin-top: 48px;
    margin-bottom: 16px;
}

.ql-editor h1 { font-size: 40px; }
.ql-editor h2 { font-size: 35px; }
.ql-editor h3 { font-size: 29px; }
.ql-editor h4 { font-size: 24px; }

/* Elegant blockquotes */
.ql-editor blockquote {
    font-size: 24px;
    font-style: italic;
    color: #333;
    border-left: 5px solid var(--theme-orange, #F37021);
    padding: 24px 32px;
    margin: 48px 0;
    background: #fdfdfd;
    position: relative;
}

/* Links */
.ql-editor a {
    color: var(--theme-orange, #F37021);
    text-decoration: none;
    border-bottom: 1px solid rgba(243, 112, 33, 0.3);
    transition: all 0.3s ease;
}

.ql-editor a:hover {
    border-bottom-color: var(--theme-orange, #F37021);
    background-color: rgba(243, 112, 33, 0.05);
}

/* Images and Videos inside content */
.ql-editor img, .ql-editor iframe, .ql-video {
    display: block;
    max-width: 100%;
    margin: 40px auto;
    border-radius: 2px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.ql-editor ul, .ql-editor ol {
    margin-bottom: 24px;
    padding-left: 24px;
}

.ql-editor li {
    margin-bottom: 8px;
}

.ql-editor pre.ql-syntax {
    background-color: #f4f4f4;
    color: #333;
    padding: 24px;
    border-radius: 8px;
    border: 1px solid #ddd;
    margin: 32px 0;
    font-family: monospace;
    font-size: 15px;
    overflow-x: auto;
}

@media (max-width: 768px) {
    .article-hero-title {
        font-size: 40px;
    }
    
    .article-content-container {
        padding: 32px 5% 64px;
        font-size: 17px;
    }
    
    .article-cover-image {
        height: 300px;
    }
}

/* Keep Exploring Section */
.explore-more-section {
    background-color: #f4f6f8;
    padding: 80px 32px;
    text-align: center;
    border-top: 1px solid #eaeaea;
}

.explore-more-content {
    max-width: 600px;
    margin: 0 auto;
}

.explore-more-content h2 {
    color: var(--theme-green);
    font-size: 35px;
    margin-bottom: 16px;
    font-family: var(--font-heading, serif);
}

.explore-more-content p {
    color: #333;
    font-size: 18px;
    margin-bottom: 40px;
    line-height: 1.6;
}

.explore-more-content .primary-button {
    display: inline-block;
    background-color: var(--theme-orange, #F37021);
    color: #fff;
    padding: 14px 35px;
    border-radius: 2px;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all var(--header-transition);
    border: none;
}

.explore-more-content .primary-button:hover {
    background-color: var(--theme-green);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.1);
    color: #fff;
}

