/* Blog Styles */
:root {

        /* Light Shades - Backgrounds and Subtle Accents */
        --teal-50: #e0f2f1; /* Lightest teal, ideal for background fill or inactive states */
        --teal-100: #b2dfdb; /* Light teal for section backgrounds or subtle dividers */
        --teal-200: #80cbc4; /* Light accent color for cards or input fields */
    
        /* Medium Shades - Primary UI Elements */
        --teal-300: #4db6ac; /* Slightly darker accent, great for hover states or borders */
        --teal-400: #26a69a; /* Stronger accent for secondary buttons or small highlights */
        --teal-500: #008080; /* Primary color - Use for main branding, call-to-action buttons, or icons */
    
        /* Dark Shades - Text and Emphasis */
        --teal-600: #00796b; /* Slightly darker primary - Good for text on light backgrounds */
        --teal-700: #00695c; /* Dark teal for headings, strong contrasts, or active states */
        --teal-800: #004d40; /* Very dark teal for text on muted backgrounds or high-contrast elements */
        --teal-900: #00251a; /* Deepest teal - Use sparingly for shadows or overlays */
    
        /* Accent Colors - Vibrant Highlights */
        --teal-a100: #a7ffeb; /* Bright highlight for attention-grabbing elements (e.g., badges) */
        --teal-a200: #64ffda; /* Accent for interactive elements like links or toggles */
        --teal-a400: #1de9b6; /* Highly vibrant teal for special highlights (e.g., focus states) */
        --teal-a700: #00bfa5; /* Rich accent for key highlights like icons or callouts */


/* Background Colors
    ------------------------------------- */
    --background-light: #F8F8F8;
    --background-dark: #ECECEC;
    --background-darker: #DEDEDE;
    --background-darkest: #CFCFCF;
    --background-hero: #f5f5f5;

/* Semantic colors 
    ------------------------------------- */
    --primary: var(--teal-500);
    --primary-hover: var(--teal-700);
    --secondary: var(--teal-50);
    --text-primary: #0f172a;
    --text-secondary: #6B6B7B;
    --background: #FAFAFE;
    --white: #FFFFFF;
    --border: #E1E1E8;
    --gradient-primary: linear-gradient(135deg, var(--primary), #3b82f6);
    --gradient-surface: linear-gradient(135deg, #eff6ff, #faf5ff);
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
}

h1, h2, h3, h4, h5, h6 {
    color: var(--text-primary);
    
}

/* Blog Styles
    ------------------------------------- */

/* Blog Index Page */
.blog-hero {
    position: relative;
    padding: 4rem 0 6rem;
    background: linear-gradient(to right, 
        rgba(255, 255, 255, 0.97), 
        rgba(255, 255, 255, 0.93)
    ), url('https://images.unsplash.com/photo-1614850523459-c2f4c699c52e');
    background-size: cover;
    background-position: center;
    overflow: hidden;
    border-bottom: 1px solid var(--border);
}

.blog-hero-content {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.hero-left {
    position: relative;
    z-index: 2;
}

.blog-hero .post-tag {
    background: rgba(0, 128, 128, 0.1);
    color: var(--teal-700);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-hero h1 {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin: 1.5rem 0;
    background: linear-gradient(135deg, var(--teal-800), var(--teal-600));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
}

.blog-hero p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 2.5rem;
    max-width: 540px;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.hero-right {
    display: none;
}


/* Responsive Design */
@media (max-width: 1024px) {
    .blog-hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .blog-hero h1 {
        font-size: 3.5rem;
    }

    .hero-right {
        display: none;
    }
}

@media (max-width: 768px) {
    .blog-hero {
        padding: 4rem 0 4rem;
    }

    .blog-hero h1 {
        font-size: 2.75rem;
    }

}

@media (max-width: 480px) {
    .blog-hero h1 {
        font-size: 2.25rem;
    }

    .blog-hero p {
        font-size: 1.125rem;
    }

}

/* Featured Post */
.featured-post {
    margin: -4rem auto 4rem;
    max-width: 1200px;
    padding: 0 2rem;
    position: relative;
}

.featured-post-card {
    background: var(--white);
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 0;
    transition: transform 0.3s ease;
    text-decoration: none;
}

.featured-post-card:hover {
    transform: translateY(-4px);
}

.featured-post-content {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.featured-post-image {
    position: relative;
    min-height: 400px;
    background-size: cover;
    background-position: center;
}

.featured-post-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0,0,0,0.1), rgba(0,0,0,0));
}

.post-tag {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    background: var(--secondary);
    color: var(--primary);
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    width: fit-content;
}

.post-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    line-height: 1.3 !important;
}

.post-excerpt {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6 !important;
}

.post-meta {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-top: auto;
    flex-wrap: wrap;
}

.post-date {
    color: var(--text-secondary);
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.post-date ion-icon {
    font-size: 1.25rem;
    flex-shrink: 0;
    width: 1.25rem;
    height: 1.25rem;
}

.read-time {
    color: var(--text-secondary);
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.read-time ion-icon {
    font-size: 1.25rem;
    flex-shrink: 0;
    width: 1.25rem;
    height: 1.25rem;
}

/* Blog Grid */
.blog-grid {
    max-width: 1200px;
    margin: 0 auto 1rem;
    padding: 2rem 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.blog-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    text-decoration: none;
}

.blog-card:hover {
    box-shadow: var(--shadow-lg);
}

.blog-card-image {
    aspect-ratio: 16/9;
    background-size: cover;
    background-position: center;
}

.blog-card-content {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Blog Post Page */
.blog-post {
    max-width: 800px;
    margin: 0 auto;
    padding: 6rem 2rem 4rem;
}

.post-header {
    margin-bottom: 4rem;
    text-align: left;
}

.post-header .post-tag {
    margin-bottom: 0.5rem;
}

.post-header h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 2rem;
    line-height: 1.2 !important;
}

.post-content {
    font-size: 1.25rem;
    line-height: 1.8 !important;
    color: var(--text-secondary);
}

.post-content h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 4rem 0 1.5rem;
}

.post-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 3rem 0 1rem;
}

.post-content p {
    margin-bottom: 1.5rem;
}

.post-content ul,
.post-content ol {
    margin: 1.5rem 0;
    padding-left: 1.5rem;
}

.post-content li {
    margin-bottom: 0.75rem;
}

.post-content blockquote {
    margin: 2rem 0;
    padding: 2rem;
    background: var(--gradient-surface);
    border-radius: 12px;
    font-style: italic;
    position: relative;
}

.post-content blockquote::before {
    content: '"';
    position: absolute;
    top: 1rem;
    left: 1rem;
    font-size: 4rem;
    color: var(--primary);
    opacity: 0.2;
    font-family: Georgia, serif;
    line-height: 1 !important;
}

.post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 2rem 0;
    box-shadow: var(--shadow-md);
}

.post-quiz {
    background: var(--gradient-surface);
    padding: 2rem;
    border-radius: 16px;
    margin: 3rem 0;
}

.post-quiz h3 {
    color: var(--text-primary);
    margin-top: 0;
}

.post-quiz ol {
    margin-bottom: 0;
}

.post-cta {
    background: var(--white);
    padding: 3rem;
    border-radius: 16px;
    text-align: center;
    margin-top: 4rem;
    box-shadow: var(--shadow-md);
}

.post-cta h3 {
    margin-top: 0;
    margin-bottom: 1rem;
}

.post-cta .button {
    display: inline-block;
    background: var(--gradient-primary);
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    margin-top: 1.5rem;
    transition: transform 0.2s ease;
}

.post-cta .button:hover {
    transform: translateY(-2px);
}

/* Social Share Section */
.social-share {
  background: var(--white);
  padding: 4rem 2rem;
  margin-top: 4rem;
  border-top: 1px solid var(--border);
}

.share-container {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.share-container h3 {
  color: var(--text-primary);
  font-size: 1.5rem;
  margin-bottom: 2rem;
  font-weight: 600;
}

.share-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.share-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 100px;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
  border: 1px solid transparent;
  cursor: pointer;
}

.share-button ion-icon {
  font-size: 1.25rem;
}

/* Updated social platform specific colors */
.share-button.twitter {
  background: rgba(29, 161, 242, 0.1);
  color: #1DA1F2;
  border-color: rgba(29, 161, 242, 0.2);
}

.share-button.linkedin {
  background: rgba(10, 102, 194, 0.1);
  color: #0A66C2;
  border-color: rgba(10, 102, 194, 0.2);
}

.share-button.facebook {
  background: rgba(24, 119, 242, 0.1);
  color: #1877F2;
  border-color: rgba(24, 119, 242, 0.2);
}

.share-button.copy {
  background: var(--secondary);
  color: var(--primary);
  border-color: var(--border);
}

/* Updated hover effects */
.share-button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.share-button.twitter:hover {
  background: rgba(29, 161, 242, 0.15);
  border-color: rgba(29, 161, 242, 0.3);
}

.share-button.linkedin:hover {
  background: rgba(10, 102, 194, 0.15);
  border-color: rgba(10, 102, 194, 0.3);
}

.share-button.facebook:hover {
  background: rgba(24, 119, 242, 0.15);
  border-color: rgba(24, 119, 242, 0.3);
}

.share-button.copy:hover {
  background: var(--teal-50);
  border-color: var(--teal-200);
}

/* Responsive adjustments */
@media (max-width: 480px) {
  .share-buttons {
    flex-direction: column;
  }
  
  .share-button {
    width: 100%;
    justify-content: center;
  }
} 

.section-title {
    text-align: center;
    margin: 1rem 0 0;
    font-size: 2rem;
    color: var(--text-primary);
} 

/* Featured Post */
@media (max-width: 768px) {
    .featured-post {
        margin: -2rem auto 2rem;
        padding: 0 1rem;
    }

    .featured-post-card {
        grid-template-columns: 1fr;
    }

    .featured-post-content {
        padding: 2rem;
    }

    .featured-post-image {
        min-height: 250px;
        order: -1;
    }

    .post-title {
        font-size: 1.75rem;
    }

    .post-excerpt {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .post-meta {
        gap: 1.5rem;
    }

    .post-date ion-icon,
    .read-time ion-icon {
        font-size: 1.125rem;
        width: 1.125rem;
        height: 1.125rem;
    }
}

@media (max-width: 480px) {
    .featured-post-content {
        padding: 1.5rem;
    }

    .featured-post-image {
        min-height: 200px;
    }
} 

/* Feature List */
.feature-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin: 2rem 0;
}

.feature {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--white);
    border-radius: 16px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.feature:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.feature ion-icon {
    width: 24px;
    height: 24px;
    color: var(--primary);
    flex-shrink: 0;
}

.feature h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text);
    margin: 0 0 0.5rem;
}

.feature p {
    font-size: 1rem;
    color: var(--text-light);
    margin: 0;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .feature-list {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .feature {
        padding: 1.25rem;
    }

    .feature h3 {
        font-size: 1.125rem;
    }

    .feature p {
        font-size: 0.9375rem;
    }
} 

@media (max-width: 768px) {
    .blog-post {
        padding: 0;
    }

    .post-header {
        text-align: left;
        padding: 1.5rem;
        margin-bottom: 2rem;
        background: var(--white);
    }

    .post-header h1 {
        font-size: 2rem;
        line-height: 1.2;
        margin: 1rem 0;
        font-weight: 700;
        color: #1f2937;
    }

    .post-meta {
        display: flex;
        flex-direction: column;
        gap: 0.25rem;
        margin-top: 1rem;
        align-items: flex-start;
    }

    .post-meta .post-author {
        font-size: 1rem;
        font-weight: 500;
        color: var(--text-primary);
        order: -1;
    }

    .post-meta .post-author ion-icon {
        display: none;
    }

    .post-meta .post-date,
    .post-meta .read-time {
        font-size: 0.875rem;
        color: #6b7280;
    }

    .post-meta .post-date ion-icon,
    .post-meta .read-time ion-icon {
        display: none;
    }

    .post-tag {
        font-size: 0.75rem;
        font-weight: 500;
        padding: 0.25rem 0.75rem;
        background: rgba(0, 128, 128, 0.1);
        color: var(--teal-700);
        border: none;
        text-transform: uppercase;
        letter-spacing: 0.025em;
    }

    .post-content {
        padding: 0 1.5rem;
    }
} 