
/* --- MODERN MINIMALIST BLOG DESIGN --- */

* {
margin: 0;
padding: 0;
box-sizing: border-box;
}

body {
background-color: #ffffff;
font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
color: #1a1a1a;
line-height: 1.6;
}

/* Header Section */
.blog-header {
max-width: 1200px;
margin: 120px auto 60px;
padding: 0 20px;
text-align: center;
}

.blog-category {
display: inline-block;
background: #ff6b6b;
color: white;
padding: 8px 20px;
border-radius: 30px;
font-size: 0.875rem;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 1px;
margin-bottom: 20px;
}

.blog-title {
font-size: clamp(2.5rem, 5vw, 4rem);
font-weight: 800;
line-height: 1.1;
margin-bottom: 20px;
background: linear-gradient(135deg, #1a1a1a 0%, #4a4a4a 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}

.blog-subtitle {
font-size: 1.375rem;
color: #666;
font-weight: 400;
max-width: 700px;
margin: 0 auto 40px;
line-height: 1.6;
}

.blog-meta-container {
display: flex;
align-items: center;
justify-content: center;
gap: 40px;
flex-wrap: wrap;
}

.author-info {
display: flex;
align-items: center;
gap: 15px;
}

.author-avatar {
width: 60px;
height: 60px;
border-radius: 50%;
background: white;
display: flex;
align-items: center;
justify-content: center;
font-size: 1.5rem;
font-weight: 700;
color: white;

}

.author-details h3 {
font-size: 1.125rem;
font-weight: 600;
margin-bottom: 2px;
}

.author-details p {
font-size: 0.875rem;
color: #666;
}

.read-time {
display: flex;
align-items: center;
gap: 8px;
color: #666;
font-size: 0.875rem;
}

.read-time::before {
content: '⏱';
font-size: 1.2rem;
}

/* Featured Image Section */
.featured-image-container {
max-width: 1000px;
margin: 60px auto;
padding: 0 20px;
}

.featured-image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
}

.featured-image-wrapper .featured-image {
    width: 100%;
    height: 100%;
    object-fit: fill;
    aspect-ratio: 16/9;
    display: block;
    max-height: 600px;
}

.featured-image {
width: 100%;
height: auto;
display: block;
object-fit: cover;
max-height: 600px;
}

.image-overlay {
position: absolute;
bottom: 0;
left: 0;
right: 0;
background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 100%);
padding: 30px;
color: white;
opacity: 0;
transition: opacity 0.3s ease;
}

.featured-image-wrapper:hover .image-overlay {
opacity: 1;
}

/* Main Content */
.content-container {
max-width: 800px;
margin: 0 auto 100px;
padding: 0 20px;
}

.content-grid {
display: grid;
grid-template-columns: 1fr;
gap: 40px;
}

/* Article Content Styling */
.article-content p {
font-size: 1.125rem;
line-height: 1.8;
margin-bottom: 1.75rem;
color: #333;
}

.article-content p:first-of-type {
font-size: 1.375rem;
line-height: 1.7;
font-weight: 400;
color: #1a1a1a;
}

.article-content h2 {
font-size: 2.25rem;
font-weight: 700;
margin: 3rem 0 1.5rem;
color: #1a1a1a;
position: relative;
padding-left: 20px;
}

.article-content h2::before {
content: '';
position: absolute;
left: 0;
top: 50%;
transform: translateY(-50%);
width: 5px;
height: 100%;
background: linear-gradient(180deg, #ff6b6b 0%, #ff8e53 100%);
border-radius: 3px;
}

.article-content h3 {
font-size: 1.75rem;
font-weight: 600;
margin: 2.5rem 0 1rem;
color: #2a2a2a;
}

/* Modern List Styling */
.article-content ul {
list-style: none;
margin: 2rem 0;
padding: 0;
}

.article-content ul li {
position: relative;
padding: 20px;
margin-bottom: 15px;
background: #f8f9fa;
border-radius: 10px;
border-left: 4px solid #ff6b6b;
font-size: 1.125rem;
transition: all 0.3s ease;
}

.article-content ul li:hover {
background: #f1f3f5;
transform: translateX(5px);
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

/* Quote/Highlight Box */
.highlight-box {
background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
color: white;
padding: 30px;
border-radius: 15px;
margin: 3rem 0;
font-size: 1.25rem;
font-weight: 500;
text-align: center;
box-shadow: 0 10px 30px rgba(245, 87, 108, 0.3);
}

/* Share Section */
.share-section {
margin-top: 60px;
padding: 40px;
background: #f8f9fa;
border-radius: 15px;
text-align: center;
}

.share-section h4 {
font-size: 1.5rem;
margin-bottom: 20px;
color: #1a1a1a;
}

.share-buttons {
display: flex;
justify-content: center;
gap: 15px;
flex-wrap: wrap;
}

.share-button {
padding: 12px 24px;
border-radius: 30px;
font-weight: 600;
text-decoration: none;
transition: all 0.3s ease;
display: inline-block;
}

.share-twitter {
background: #1DA1F2;
color: white;
}

.share-linkedin {
background: #0077B5;
color: white;
}

.share-facebook {
background: #4267B2;
color: white;
}

.share-button:hover {
transform: translateY(-3px);
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Responsive Design */
@media (max-width: 768px) {
.blog-header {
    margin-top: 100px;
}

.blog-title {
    font-size: 2rem;
}

.blog-subtitle {
    font-size: 1.125rem;
}

.blog-meta-container {
    gap: 20px;
}

.featured-image-container {
    margin: 40px auto;
}

.article-content p {
    font-size: 1rem;
}

.article-content h2 {
    font-size: 1.75rem;
}

.article-content ul li {
    padding: 15px;
    font-size: 1rem;
}
}

/* Smooth Scroll */
html {
scroll-behavior: smooth;
}

/* Selection Color */
::selection {
background: #ff6b6b;
color: white;
}
