/* Blog Styles - Reading-optimized typography */
/* Enhanced design for FoodShop Blog - May 2026 */

/* ============================================
   BLOG HERO (Index Page)
   ============================================ */
.blog-hero {
    padding: 7rem 0 4rem;
    background: linear-gradient(180deg, #FFF7ED 0%, #FFEDD5 50%, #fff 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Decorative background pattern */
.blog-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 80%, rgba(232, 93, 4, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(232, 93, 4, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.blog-hero .container {
    position: relative;
    z-index: 1;
}

.blog-hero-eyebrow {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #E85D04;
    margin-bottom: 1rem;
    padding: 0.375rem 1rem;
    background: rgba(232, 93, 4, 0.1);
    border-radius: 50px;
}

.blog-hero h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    color: #1f2937;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.blog-hero-subtitle {
    font-size: 1.25rem;
    color: #4b5563;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* RSS link in hero */
.blog-hero-rss {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
    font-size: 0.875rem;
    color: #6b7280;
    text-decoration: none;
    transition: color 0.2s;
}

.blog-hero-rss:hover {
    color: #E85D04;
}

.blog-hero-rss svg {
    width: 16px;
    height: 16px;
}

/* ============================================
   BLOG LIST (Index Page)
   ============================================ */
.blog-list {
    padding: 4rem 0 6rem;
    background: #FAFAFA;
}

.blog-posts-grid {
    display: grid;
    gap: 2.5rem;
    max-width: 900px;
    margin: 0 auto;
}

/* Featured post (first post gets special treatment) */
.blog-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border: 1px solid #E5E7EB;
    transition: all 0.3s ease;
    position: relative;
}

.blog-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #E85D04 0%, #FF7A29 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.blog-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    transform: translateY(-4px);
    border-color: transparent;
}

.blog-card:hover::before {
    opacity: 1;
}

.blog-card-link {
    display: flex;
    flex-direction: row;
    text-decoration: none;
    color: inherit;
}

/* Card with image */
.blog-card-image {
    flex-shrink: 0;
    width: 280px;
    min-height: 200px;
    overflow: hidden;
    position: relative;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.05);
}

/* Card without image - icon placeholder */
.blog-card-icon {
    flex-shrink: 0;
    width: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #FFF7ED 0%, #FFEDD5 100%);
    font-size: 3rem;
}

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

.blog-card-category {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #E85D04;
    margin-bottom: 0.75rem;
}

.blog-card-title {
    font-family: 'Inter', sans-serif;
    font-size: 1.375rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 0.75rem;
    line-height: 1.35;
    transition: color 0.2s ease;
}

.blog-card:hover .blog-card-title {
    color: #E85D04;
}

.blog-card-excerpt {
    font-family: 'Source Serif 4', Georgia, serif;
    font-size: 1rem;
    color: #4b5563;
    line-height: 1.65;
    margin: 0 0 1.25rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card-meta {
    font-family: 'Inter', sans-serif;
    font-size: 0.8125rem;
    color: #6b7280;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.blog-card-meta-item {
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.blog-card-meta-item svg {
    width: 14px;
    height: 14px;
    opacity: 0.6;
}

.blog-card-separator {
    width: 3px;
    height: 3px;
    background: #D1D5DB;
    border-radius: 50%;
}

.blog-card-read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #E85D04;
    margin-top: auto;
    opacity: 0;
    transform: translateX(-8px);
    transition: all 0.2s ease;
}

.blog-card:hover .blog-card-read-more {
    opacity: 1;
    transform: translateX(0);
}

.blog-card-read-more svg {
    width: 16px;
    height: 16px;
    transition: transform 0.2s ease;
}

.blog-card:hover .blog-card-read-more svg {
    transform: translateX(4px);
}

/* Mobile: Stack cards vertically */
@media (max-width: 700px) {
    .blog-card-link {
        flex-direction: column;
    }

    .blog-card-image {
        width: 100%;
        height: 180px;
        min-height: auto;
    }

    .blog-card-icon {
        width: 100%;
        height: 100px;
    }

    .blog-card-content {
        padding: 1.25rem 1.5rem;
    }

    .blog-card-title {
        font-size: 1.25rem;
    }

    .blog-card-read-more {
        opacity: 1;
        transform: translateX(0);
    }
}

.blog-empty {
    text-align: center;
    color: #6b7280;
    padding: 4rem 2rem;
    background: #fff;
    border-radius: 16px;
    border: 2px dashed #E5E7EB;
}

.blog-empty-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

/* ============================================
   BLOG POST PAGE
   ============================================ */
.blog-post {
    padding-bottom: 5rem;
    background: #fff;
}

/* Hero image section */
.post-hero {
    max-width: 720px;
    margin: 0 auto 2.5rem;
    padding: 0 1.5rem;
}

.post-hero-wrapper {
    position: relative;
    background: linear-gradient(135deg, #FFF7ED 0%, #FFEDD5 50%, #FEF3C7 100%);
    border-radius: 16px;
    padding: 1.5rem;
    border: 1px solid #E5E7EB;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

/* Subtle decorative corner accents */
.post-hero-wrapper::before,
.post-hero-wrapper::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(232, 93, 4, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.post-hero-wrapper::before {
    top: -20px;
    left: -20px;
}

.post-hero-wrapper::after {
    bottom: -20px;
    right: -20px;
}

.post-hero img {
    position: relative;
    z-index: 1;
    width: 100%;
    max-height: 400px;
    object-fit: contain;
    display: block;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

/* Mobile adjustments for hero */
@media (max-width: 640px) {
    .post-hero-wrapper {
        padding: 1rem;
        border-radius: 12px;
    }

    .post-hero img {
        max-height: 280px;
        border-radius: 8px;
    }
}

.post-container {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Post Header */
.post-header {
    margin-bottom: 3rem;
    padding-top: 3rem;
    border-bottom: 1px solid #E5E7EB;
    padding-bottom: 2rem;
}

/* Back to blog link */
.post-back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #6b7280;
    text-decoration: none;
    margin-bottom: 1.5rem;
    transition: color 0.2s;
}

.post-back-link:hover {
    color: #E85D04;
}

.post-back-link svg {
    width: 16px;
    height: 16px;
}

.post-category {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #E85D04;
    background: rgba(232, 93, 4, 0.1);
    padding: 0.375rem 0.875rem;
    border-radius: 50px;
    margin-bottom: 1rem;
}

.post-title {
    font-family: 'Inter', sans-serif;
    font-size: clamp(1.75rem, 5vw, 2.75rem);
    font-weight: 800;
    color: #1f2937;
    line-height: 1.2;
    margin: 0 0 1.5rem;
    letter-spacing: -0.02em;
}

/* Post meta with enhanced styling */
.post-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: #F9FAFB;
    border-radius: 12px;
    border: 1px solid #E5E7EB;
}

.post-meta-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.post-meta-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    flex: 1;
}

.post-meta-author {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    color: #1f2937;
    font-size: 0.9375rem;
}

.post-meta-details {
    font-family: 'Inter', sans-serif;
    font-size: 0.8125rem;
    color: #6b7280;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.post-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.post-meta-item svg {
    width: 14px;
    height: 14px;
    opacity: 0.6;
}

.post-meta-separator {
    width: 3px;
    height: 3px;
    background: #D1D5DB;
    border-radius: 50%;
}

/* Share buttons */
.post-meta-share {
    display: flex;
    gap: 0.5rem;
    margin-left: auto;
}

.post-share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: #fff;
    border: 1px solid #E5E7EB;
    color: #6b7280;
    text-decoration: none;
    transition: all 0.2s;
}

.post-share-btn:hover {
    background: #E85D04;
    border-color: #E85D04;
    color: #fff;
}

.post-share-btn svg {
    width: 18px;
    height: 18px;
}

@media (max-width: 640px) {
    .post-header {
        padding-top: 2rem;
    }

    .post-meta {
        flex-wrap: wrap;
        gap: 0.75rem;
    }

    .post-meta-share {
        width: 100%;
        margin-left: 0;
        margin-top: 0.5rem;
        padding-top: 0.75rem;
        border-top: 1px solid #E5E7EB;
        justify-content: center;
    }
}

/* ============================================
   POST CONTENT - Reading-optimized typography
   ============================================ */
.post-content {
    font-family: 'Source Serif 4', Georgia, serif;
    font-size: 1.1875rem;
    line-height: 1.75;
    color: #374151;
}

.post-content p {
    margin: 0 0 1.75rem;
}

/* First paragraph - larger */
.post-content > p:first-of-type {
    font-size: 1.3125rem;
    color: #1f2937;
    line-height: 1.7;
}

.post-content h2 {
    font-family: 'Inter', sans-serif;
    font-size: 1.625rem;
    font-weight: 700;
    color: #1f2937;
    margin: 3.5rem 0 1.25rem;
    line-height: 1.3;
    padding-top: 1rem;
    border-top: 1px solid #E5E7EB;
}

/* First h2 doesn't need border */
.post-content h2:first-of-type {
    border-top: none;
    padding-top: 0;
}

.post-content h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1.3125rem;
    font-weight: 600;
    color: #1f2937;
    margin: 2.5rem 0 0.875rem;
    line-height: 1.4;
}

.post-content h4 {
    font-family: 'Inter', sans-serif;
    font-size: 1.125rem;
    font-weight: 600;
    color: #1f2937;
    margin: 2rem 0 0.625rem;
}

.post-content a {
    color: #E85D04;
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-thickness: 1px;
    transition: all 0.2s;
}

.post-content a:hover {
    color: #c2410c;
    text-decoration-thickness: 2px;
}

.post-content strong {
    font-weight: 600;
    color: #1f2937;
}

.post-content em {
    font-style: italic;
}

/* Lists - enhanced styling */
.post-content ul,
.post-content ol {
    margin: 0 0 1.75rem 0;
    padding: 0 0 0 1.75rem;
}

.post-content li {
    margin-bottom: 0.625rem;
    padding-left: 0.5rem;
    line-height: 1.7;
}

.post-content ul li {
    list-style-type: none;
    position: relative;
}

.post-content ul li::before {
    content: '';
    position: absolute;
    left: -1.25rem;
    top: 0.75rem;
    width: 6px;
    height: 6px;
    background: #E85D04;
    border-radius: 50%;
}

.post-content ol li {
    list-style-type: decimal;
}

.post-content ol li::marker {
    color: #E85D04;
    font-weight: 600;
}

/* Nested lists */
.post-content li > ul,
.post-content li > ol {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

/* Blockquotes - warm bakery feel */
.post-content blockquote {
    margin: 2.5rem 0;
    padding: 1.75rem 2rem;
    background: linear-gradient(135deg, #FFF7ED 0%, #FFEDD5 100%);
    border-left: 4px solid #E85D04;
    border-radius: 0 12px 12px 0;
    font-style: italic;
    position: relative;
}

.post-content blockquote::before {
    content: '"';
    position: absolute;
    top: 0.5rem;
    left: 1rem;
    font-size: 3rem;
    font-family: Georgia, serif;
    color: #E85D04;
    opacity: 0.3;
    line-height: 1;
}

.post-content blockquote p {
    margin: 0;
    position: relative;
    z-index: 1;
}

/* Callout boxes for important info */
.post-content .callout {
    margin: 2rem 0;
    padding: 1.5rem;
    background: #F0FDF4;
    border: 1px solid #BBF7D0;
    border-radius: 12px;
}

.post-content .callout-warning {
    background: #FEF3C7;
    border-color: #FDE68A;
}

/* Code */
.post-content code {
    font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
    font-size: 0.85em;
    background: #F3F4F6;
    padding: 0.2rem 0.5rem;
    border-radius: 6px;
    color: #E85D04;
}

.post-content pre {
    margin: 2rem 0;
    padding: 1.5rem;
    background: #1F2937;
    border-radius: 12px;
    overflow-x: auto;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.post-content pre code {
    background: none;
    padding: 0;
    color: #E5E7EB;
    font-size: 0.875rem;
    line-height: 1.65;
}

/* Images in content - enhanced */
.post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 2rem 0;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.post-content figure {
    margin: 2.5rem 0;
}

.post-content figcaption {
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    color: #6b7280;
    text-align: center;
    margin-top: 0.75rem;
    font-style: italic;
}

/* Horizontal rule - decorative */
.post-content hr {
    border: none;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, #E5E7EB 20%, #E5E7EB 80%, transparent 100%);
    margin: 3.5rem 0;
    position: relative;
}

.post-content hr::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: #E85D04;
    border-radius: 50%;
}

/* Tables */
.post-content table {
    width: 100%;
    margin: 2rem 0;
    border-collapse: collapse;
    font-family: 'Inter', sans-serif;
    font-size: 0.9375rem;
}

.post-content th,
.post-content td {
    padding: 0.875rem 1rem;
    text-align: left;
    border-bottom: 1px solid #E5E7EB;
}

.post-content th {
    background: #F9FAFB;
    font-weight: 600;
    color: #1f2937;
}

.post-content tr:hover {
    background: #FAFAFA;
}

/* Mobile adjustments */
@media (max-width: 640px) {
    .post-content {
        font-size: 1.0625rem;
    }

    .post-content > p:first-of-type {
        font-size: 1.125rem;
    }

    .post-content h2 {
        font-size: 1.375rem;
        margin-top: 2.5rem;
    }

    .post-content h3 {
        font-size: 1.1875rem;
    }

    .post-content blockquote {
        padding: 1.25rem 1.5rem;
        margin: 1.75rem 0;
    }
}

/* ============================================
   AUTHOR CARD
   ============================================ */
.author-card {
    display: flex;
    gap: 1.75rem;
    padding: 2rem;
    background: linear-gradient(135deg, #FFF7ED 0%, #FFEDD5 100%);
    border-radius: 16px;
    margin: 3.5rem 0;
    border: 1px solid rgba(232, 93, 4, 0.15);
    position: relative;
    overflow: hidden;
}

.author-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #E85D04 0%, #FF7A29 100%);
}

.author-card-label {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #E85D04;
    background: rgba(255, 255, 255, 0.8);
    padding: 0.25rem 0.625rem;
    border-radius: 4px;
}

.author-card-avatar {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 4px solid #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.author-card-info {
    flex: 1;
    padding-top: 0.25rem;
}

.author-card-name {
    font-family: 'Inter', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 0.375rem;
}

.author-card-title {
    font-family: 'Inter', sans-serif;
    font-size: 0.8125rem;
    font-weight: 500;
    color: #E85D04;
    margin: 0 0 0.875rem;
}

.author-card-bio {
    font-family: 'Source Serif 4', Georgia, serif;
    font-size: 0.9375rem;
    color: #4b5563;
    line-height: 1.65;
    margin: 0;
}

.author-card-links {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
}

.author-card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.8125rem;
    font-weight: 500;
    color: #E85D04;
    text-decoration: none;
    transition: color 0.2s;
}

.author-card-link:hover {
    color: #c2410c;
}

.author-card-link svg {
    width: 14px;
    height: 14px;
}

@media (max-width: 640px) {
    .author-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 1.75rem 1.5rem;
    }

    .author-card::before {
        width: 100%;
        height: 4px;
        top: 0;
        left: 0;
    }

    .author-card-label {
        position: static;
        margin-bottom: 1rem;
    }

    .author-card-links {
        justify-content: center;
    }
}

/* ============================================
   RELATED POSTS
   ============================================ */
.related-posts {
    margin: 4rem 0;
    padding-top: 3rem;
    border-top: 1px solid #E5E7EB;
}

.related-posts-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.75rem;
}

.related-posts-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #FFF7ED 0%, #FFEDD5 100%);
    border-radius: 8px;
    color: #E85D04;
}

.related-posts-icon svg {
    width: 18px;
    height: 18px;
}

.related-posts h2 {
    font-family: 'Inter', sans-serif;
    font-size: 1.375rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0;
}

.related-posts-grid {
    display: grid;
    gap: 1.25rem;
}

@media (min-width: 640px) {
    .related-posts-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.related-post-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #E5E7EB;
    transition: all 0.3s ease;
}

.related-post-card:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
    border-color: transparent;
}

.related-post-image-wrapper {
    position: relative;
    overflow: hidden;
}

.related-post-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.related-post-card:hover .related-post-image {
    transform: scale(1.05);
}

/* Placeholder for posts without images */
.related-post-placeholder {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: linear-gradient(135deg, #FFF7ED 0%, #FFEDD5 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.related-post-content {
    padding: 1.125rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.related-post-content h3 {
    font-family: 'Inter', sans-serif;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #1f2937;
    margin: 0 0 0.5rem;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s;
}

.related-post-card:hover .related-post-content h3 {
    color: #E85D04;
}

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

.related-post-date {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    color: #6b7280;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.related-post-date svg {
    width: 12px;
    height: 12px;
    opacity: 0.6;
}

.related-post-reading-time {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    color: #9ca3af;
}

.related-post-reading-time::before {
    content: '';
    display: inline-block;
    width: 3px;
    height: 3px;
    background: #D1D5DB;
    border-radius: 50%;
    margin-right: 0.5rem;
    vertical-align: middle;
}

/* ============================================
   CTA CARD
   ============================================ */
.cta-card {
    text-align: center;
    padding: 3rem 2.5rem;
    background: linear-gradient(135deg, #1F2937 0%, #374151 100%);
    border-radius: 20px;
    margin: 4rem 0 0;
    position: relative;
    overflow: hidden;
}

/* Decorative elements */
.cta-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(232, 93, 4, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.cta-card::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(232, 93, 4, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.cta-card > * {
    position: relative;
    z-index: 1;
}

.cta-card-eyebrow {
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #E85D04;
    margin-bottom: 1rem;
}

.cta-card h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1.625rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 0.875rem;
    line-height: 1.3;
}

.cta-card p {
    font-family: 'Source Serif 4', Georgia, serif;
    font-size: 1.0625rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.65;
    margin: 0 0 1.75rem;
    max-width: 440px;
    margin-left: auto;
    margin-right: auto;
}

.cta-card .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.2s ease;
}

.cta-card .btn-primary {
    background: #E85D04;
    color: #fff;
    box-shadow: 0 4px 14px rgba(232, 93, 4, 0.4);
}

.cta-card .btn-primary:hover {
    background: #FF7A29;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(232, 93, 4, 0.5);
}

.cta-card .btn-lg {
    padding: 1.125rem 2.5rem;
    font-size: 1.0625rem;
}

.cta-card .btn svg {
    width: 18px;
    height: 18px;
}

.cta-card-note {
    font-family: 'Inter', sans-serif;
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 1rem;
}

@media (max-width: 640px) {
    .cta-card {
        padding: 2.5rem 1.5rem;
        border-radius: 16px;
    }

    .cta-card h3 {
        font-size: 1.375rem;
    }

    .cta-card p {
        font-size: 1rem;
    }
}

/* ============================================
   NEWSLETTER SIGNUP (Optional - in post)
   ============================================ */
.newsletter-inline {
    margin: 3rem 0;
    padding: 2rem;
    background: #F9FAFB;
    border-radius: 16px;
    border: 1px solid #E5E7EB;
}

.newsletter-inline h4 {
    font-family: 'Inter', sans-serif;
    font-size: 1.125rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 0.5rem;
}

.newsletter-inline p {
    font-family: 'Inter', sans-serif;
    font-size: 0.9375rem;
    color: #6b7280;
    margin: 0 0 1.25rem;
}

.newsletter-inline-form {
    display: flex;
    gap: 0.75rem;
}

.newsletter-inline-form input {
    flex: 1;
    padding: 0.875rem 1rem;
    border: 1px solid #D1D5DB;
    border-radius: 8px;
    font-size: 0.9375rem;
    transition: border-color 0.2s;
}

.newsletter-inline-form input:focus {
    outline: none;
    border-color: #E85D04;
}

.newsletter-inline-form button {
    padding: 0.875rem 1.5rem;
    background: #E85D04;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.newsletter-inline-form button:hover {
    background: #c2410c;
}

@media (max-width: 500px) {
    .newsletter-inline-form {
        flex-direction: column;
    }
}

/* ============================================
   TABLE OF CONTENTS (Future enhancement)
   ============================================ */
.post-toc {
    background: #F9FAFB;
    border-radius: 12px;
    padding: 1.5rem;
    margin: 2rem 0;
    border: 1px solid #E5E7EB;
}

.post-toc-title {
    font-family: 'Inter', sans-serif;
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #6b7280;
    margin: 0 0 1rem;
}

.post-toc ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.post-toc li {
    margin-bottom: 0.625rem;
}

.post-toc a {
    font-family: 'Inter', sans-serif;
    font-size: 0.9375rem;
    color: #374151;
    text-decoration: none;
    display: block;
    padding: 0.25rem 0;
    transition: color 0.2s;
}

.post-toc a:hover {
    color: #E85D04;
}

/* ============================================
   PROGRESS BAR (Reading progress)
   ============================================ */
.reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, #E85D04 0%, #FF7A29 100%);
    z-index: 9999;
    transition: width 0.1s ease-out;
}

/* ============================================
   SOCIAL SHARE FLOATING (Optional)
   ============================================ */
.share-floating {
    position: fixed;
    left: 2rem;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    z-index: 100;
}

.share-floating-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: #fff;
    border: 1px solid #E5E7EB;
    border-radius: 10px;
    color: #6b7280;
    text-decoration: none;
    transition: all 0.2s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.share-floating-btn:hover {
    background: #E85D04;
    border-color: #E85D04;
    color: #fff;
    transform: scale(1.1);
}

.share-floating-btn svg {
    width: 20px;
    height: 20px;
}

@media (max-width: 1200px) {
    .share-floating {
        display: none;
    }
}
