/* MarketRead Premium Styles (Minified) */
:root {
    --primary-color: #2563EB;
    --accent-color: #F59E0B;
    --text-dark: #111827;
    --text-light: #6B7280;
    --bg-light: #F9FAFB;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --font-heading: 'Akshar', sans-serif;
    --font-body: 'Inter', sans-serif;
    --heading-color: #111827;
    --meta-color: #6B7280;
    --border-color: #E5E7EB;
    --bg-color: #F8FAFC;
    --primary: #0F172A;
    --accent: #2563EB;
    --accent-hover: #1D4ED8;
    --text-main: #334155;
    --bg-body: #F8FAFC;
    --bg-white: #FFFFFF;
    --border: #E2E8F0
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-body);
    color: var(--text-main);
    line-height: 1.6;
    margin: 0
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    letter-spacing: -0.025em;
    color: var(--heading-color);
    margin-top: 0
}

header.sticky {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(229, 231, 235, 0.7)
}

.article-card {
    border: 1px solid #F3F4F6;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: white
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(37, 99, 235, 0.2)
}

.article-title {
    transition: color 0.2s;
    line-height: 1.35
}

.article-card:hover .article-title {
    color: var(--primary-color)
}

.page-btn {
    font-weight: 600;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05)
}

.page-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 6px rgba(30, 58, 138, 0.15)
}

.sidebar-box {
    box-shadow: var(--shadow-sm);
    border: 1px solid #F3F4F6
}

.sidebar-title {
    position: relative;
    padding-bottom: 12px
}

.sidebar-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--primary-color)
}

.trending-number {
    font-family: var(--font-heading);
    font-style: italic;
    opacity: 0.15
}

#footer-container {
    background: #111827;
    color: white
}

.category-badge,
.article-category-badge {
    box-shadow: 0 2px 4px rgba(30, 58, 138, 0.2);
    letter-spacing: 0.05em
}

.blog-post-page .container-readable {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px
}

.blog-post-page {
    padding: 40px 0;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    margin-bottom: 40px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 20px
}

.breadcrumb {
    font-size: 14px;
    color: var(--meta-color);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap
}

.breadcrumb a {
    color: var(--meta-color);
    text-decoration: none;
    transition: color 0.2s
}

.breadcrumb a:hover {
    color: var(--primary-color)
}

.breadcrumb i {
    font-size: 10px;
    color: #9CA3AF
}

.breadcrumb span {
    color: var(--text-color);
    font-weight: 500;
    max-width: 250px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis
}

.post-header {
    margin-bottom: 40px;
    text-align: center
}

.post-category {
    display: inline-block;
    background: #EFF6FF;
    color: var(--primary-color);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 20px
}

.post-title {
    font-size: 42px;
    line-height: 1.2;
    font-weight: 700;
    margin-bottom: 24px
}

.post-meta {
    display: flex;
    justify-content: center;
    gap: 24px;
    font-size: 14px;
    color: var(--meta-color);
    flex-wrap: wrap
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 6px
}

.meta-item i {
    color: #9CA3AF
}

.post-featured-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    margin-bottom: 48px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1)
}

.post-content {
    font-size: 18px;
    line-height: 1.8;
    color: #374151
}

.post-content p {
    margin-bottom: 24px
}

.post-content h2 {
    font-size: 28px;
    margin-top: 48px;
    margin-bottom: 24px;
    font-weight: 600
}

.post-content h3 {
    font-size: 22px;
    margin-top: 32px;
    margin-bottom: 16px;
    font-weight: 600
}

.post-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 32px 0;
    font-size: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border-color)
}

.post-content thead {
    background-color: var(--primary-color);
    color: #ffffff
}

.post-content th {
    padding: 16px;
    text-align: left;
    font-weight: 600;
    letter-spacing: 0.5px;
    border-bottom: 2px solid #1D4ED8
}

.post-content td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--border-color);
    color: #374151
}

.post-content tr:last-child td {
    border-bottom: none
}

.post-content tr:nth-child(even) {
    background-color: #F8FAFC
}

.post-content tr:hover {
    background-color: #EFF6FF
}

.post-content ol {
    list-style: none;
    counter-reset: my-awesome-counter;
    padding-left: 0;
    margin: 32px 0
}

.post-content ol li {
    counter-increment: my-awesome-counter;
    position: relative;
    padding-left: 60px;
    margin-bottom: 24px
}

.post-content ol li::before {
    content: counter(my-awesome-counter);
    position: absolute;
    left: 0;
    top: 0;
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    box-shadow: 0 2px 4px rgba(37, 99, 235, 0.3)
}

.post-content ol li strong {
    display: block;
    font-size: 20px;
    color: var(--heading-color);
    margin-bottom: 4px
}

.callout {
    padding: 24px;
    margin: 32px 0;
    border-radius: 8px;
    border-left: 5px solid;
    background-color: #F9FAFB;
    position: relative
}

.callout-warning {
    border-color: #F59E0B;
    background-color: #FFFBEB
}

.callout-info {
    border-color: #2563EB;
    background-color: #EFF6FF
}

.callout-tip {
    border-color: #10B981;
    background-color: #ECFDF5
}

.callout strong {
    display: block;
    font-size: 18px;
    margin-bottom: 8px;
    color: #111827;
    font-family: 'Poppins', sans-serif
}

.post-content blockquote {
    margin: 40px 0;
    padding: 24px 32px;
    border-left: 6px solid var(--primary-color);
    background: #F3F4F6;
    border-radius: 0 8px 8px 0;
    font-style: normal;
    position: relative
}

.post-content blockquote p {
    font-size: 20px;
    font-weight: 500;
    color: #1F2937;
    margin-bottom: 0;
    font-family: 'Poppins', sans-serif
}

.post-content blockquote::before {
    content: '\201C';
    font-family: serif;
    font-size: 60px;
    color: var(--primary-color);
    opacity: 0.2;
    position: absolute;
    top: -10px;
    left: 10px
}

.conclusion-box {
    background: #111827;
    color: #F9FAFB;
    padding: 40px;
    border-radius: 12px;
    margin-top: 60px;
    text-align: center
}

.conclusion-box h2,
.conclusion-box h3 {
    color: #fff !important;
    border-bottom: 2px solid #374151;
    padding-bottom: 16px;
    margin-bottom: 24px;
    display: inline-block
}

.conclusion-box p {
    color: #D1D5DB;
    font-size: 18px
}

.post-content pre {
    background: #1e293b;
    color: #e2e8f0;
    padding: 24px;
    border-radius: 8px;
    overflow-x: auto;
    margin: 32px 0;
    font-family: 'Fira Code', monospace;
    font-size: 14px;
    border: 1px solid #334155;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1)
}

.post-tags {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--border-color);
    display: flex;
    flex-wrap: wrap;
    gap: 12px
}

.tag {
    background: #F3F4F6;
    color: #4B5563;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    transition: all 0.2s
}

.tag:hover {
    background: #E5E7EB;
    color: #1F2937
}

.tag i {
    font-size: 11px
}

.post-share {
    background: #F9FAFB;
    padding: 32px;
    border-radius: 12px;
    margin-top: 40px;
    text-align: center
}

.post-share h4 {
    margin-bottom: 16px;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-color)
}

.share-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap
}

.share-btn {
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    color: white;
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: transform 0.2s, opacity 0.2s
}

.share-btn:hover {
    transform: translateY(-2px);
    opacity: 0.9
}

.share-btn.twitter {
    background: #1DA1F2
}

.share-btn.facebook {
    background: #1877F2
}

.share-btn.linkedin {
    background: #0077B5
}

.share-btn.copy {
    background: #4B5563
}

.read-next-section {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 2px solid var(--border-color)
}

.read-next-title {
    text-align: center;
    font-size: 24px;
    margin-bottom: 32px;
    color: var(--heading-color)
}

.read-next-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px
}

.read-next-card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.2s;
    display: block;
    text-decoration: none;
    color: inherit
}

.read-next-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05)
}

.read-next-img {
    width: 100%;
    height: 160px;
    object-fit: cover
}

.read-next-content {
    padding: 16px
}

.read-next-cat {
    font-size: 11px;
    color: var(--primary-color);
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 8px;
    display: block
}

.read-next-headline {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden
}

#scroll-trigger {
    text-align: center;
    padding: 40px;
    color: var(--meta-color);
    font-weight: 500;
    opacity: 0.7
}

.hidden {
    display: none
}

@media(max-width:768px) {
    .post-title {
        font-size: 28px
    }

    .post-content {
        font-size: 17px
    }

    .post-meta {
        gap: 12px;
        flex-direction: column;
        align-items: center
    }

    .blog-post-page .container-readable {
        padding: 0 16px
    }
}

/* Re-added Header Styles */
.site-header {
    background: var(--bg-white);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm)
}

.header-top {
    padding: 16px 0
}

.logo {
    font-size: 28px;
    font-weight: 800;
    color: var(--primary);
    text-decoration: none;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 8px
}

.logo span {
    color: var(--accent)
}

.header-search {
    position: relative;
    width: 100%;
    max-width: 400px
}

.header-search input {
    width: 100%;
    padding: 10px 16px 10px 40px;
    border: 1px solid var(--border);
    border-radius: 99px;
    background: #F1F5F9;
    font-family: inherit;
    font-size: 14px;
    outline: none;
    transition: all 0.2s
}

.header-search input:focus {
    background: white;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1)
}

.header-search svg {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
    width: 18px;
    height: 18px
}

.main-nav {
    border-top: 1px solid var(--border)
}

.nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 24px
}

.nav-link {
    display: block;
    padding: 14px 0;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-main);
    text-decoration: none;
    position: relative;
    transition: color 0.2s
}

.nav-link:hover {
    color: var(--accent)
}

.nav-link.active {
    color: var(--accent)
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent)
}

.mobile-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: var(--primary)
}

.btn-subscribe {
    background: var(--primary);
    color: white;
    padding: 8px 20px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s
}

.btn-subscribe:hover {
    background: #000
}

.hidden {
    display: none
}

.block {
    display: block
}

@media(min-width:768px) {
    .md\:flex {
        display: flex
    }

    .md\:hidden {
        display: none
    }

    .md\:block {
        display: block
    }
}