@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@200..800&display=swap');

body{
    font-family: "Manrope", sans-serif;
    font-weight: 300;
    font-style: normal;
    color: #000;
    font-size: 16px;
    background: #f3f4f5;
}

.trend-slider {
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.trend-slider .slick-list {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
}

.trend-slider .slick-track {
    display: flex;
}

.trend-slider .slick-slide {
    min-width: 0;
}

.trend-slider .slick-slide > div {
    width: 100%;
    min-width: 0;
}

/* ==========================================
   Blog & Article Content Typography Styles
   ========================================== */

.blog-content-body {
    color: #334155;
    font-size: 1.0625rem;
    line-height: 1.85;
}

/* Hyperlinks in Blog Content */
.blog-content-body a {
    color: #4f46e5 !important;
    font-weight: 600 !important;
    text-decoration: underline !important;
    text-decoration-color: #a5b4fc !important;
    text-decoration-thickness: 1.5px !important;
    text-underline-offset: 3px !important;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-wrap: break-word;
    word-break: break-word;
}

.blog-content-body a:hover {
    color: #3730a3 !important;
    text-decoration-color: #4f46e5 !important;
    background-color: #eef2ff;
    border-radius: 4px;
    padding-left: 3px;
    padding-right: 3px;
    margin-left: -3px;
    margin-right: -3px;
}

.blog-content-body a:focus-visible {
    outline: 2px solid #6366f1;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Paragraphs & Headings */
.blog-content-body p {
    color: #334155;
    line-height: 1.85;
    margin-bottom: 1.35rem;
}

.blog-content-body h2 {
    font-size: 1.5rem;
    font-weight: 800;
    color: #0f172a;
    margin-top: 2.25rem;
    margin-bottom: 1rem;
    line-height: 1.3;
    scroll-margin-top: 100px;
}

.blog-content-body h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
    margin-top: 1.75rem;
    margin-bottom: 0.75rem;
    line-height: 1.35;
    scroll-margin-top: 100px;
}

.blog-content-body h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #334155;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    line-height: 1.4;
    scroll-margin-top: 100px;
}

/* Lists */
.blog-content-body ul {
    list-style-type: disc !important;
    padding-left: 1.75rem !important;
    margin-top: 0.75rem !important;
    margin-bottom: 1.35rem !important;
    color: #334155;
}

.blog-content-body ol {
    list-style-type: decimal !important;
    padding-left: 1.75rem !important;
    margin-top: 0.75rem !important;
    margin-bottom: 1.35rem !important;
    color: #334155;
}

.blog-content-body li {
    margin-bottom: 0.45rem;
    line-height: 1.75;
    padding-left: 0.25rem;
}

/* Blockquotes */
.blog-content-body blockquote {
    border-left: 4px solid #4f46e5 !important;
    background: linear-gradient(90deg, #f8faff 0%, #f8fafc 100%) !important;
    padding: 1.125rem 1.5rem !important;
    border-radius: 0 0.875rem 0.875rem 0 !important;
    font-style: italic !important;
    color: #475569 !important;
    margin: 1.75rem 0 !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

/* Code & Preformatted Blocks */
.blog-content-body code:not(pre code) {
    background-color: #f1f5f9 !important;
    color: #4f46e5 !important;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace !important;
    padding: 0.2rem 0.45rem !important;
    border-radius: 0.375rem !important;
    font-size: 0.88em !important;
    font-weight: 600 !important;
    border: 1px solid #e2e8f0 !important;
}

.blog-content-body code::before,
.blog-content-body code::after {
    content: none !important;
}

.blog-content-body pre {
    background-color: #0f172a !important;
    color: #f8fafc !important;
    padding: 1.25rem 1.5rem !important;
    border-radius: 0.75rem !important;
    overflow-x: auto !important;
    margin: 1.5rem 0 !important;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace !important;
    font-size: 0.9rem !important;
    line-height: 1.65 !important;
    white-space: pre-wrap !important;
    word-break: break-word !important;
    tab-size: 4 !important;
    -moz-tab-size: 4 !important;
    border: 1px solid #1e293b !important;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08) !important;
    position: relative !important;
}

.blog-content-body pre code {
    background: transparent !important;
    color: inherit !important;
    padding: 0 !important;
    border: none !important;
    font-size: inherit !important;
    font-family: inherit !important;
    white-space: inherit !important;
    word-break: inherit !important;
}

.pre-block-wrapper {
    position: relative;
    margin: 1.5rem 0;
}

.pre-block-wrapper pre {
    margin: 0 !important;
}

.code-copy-btn {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.3rem 0.65rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: #94a3b8;
    background-color: rgba(30, 41, 59, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 0.375rem;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 10;
    backdrop-filter: blur(4px);
}

.code-copy-btn:hover {
    color: #ffffff;
    background-color: #334155;
    border-color: rgba(255, 255, 255, 0.3);
}

.code-copy-btn.copied {
    color: #10b981;
    border-color: #10b981;
    background-color: rgba(16, 185, 129, 0.2);
}

/* Images & Media */
.blog-content-body img {
    max-width: 100% !important;
    height: auto !important;
    border-radius: 0.875rem !important;
    margin: 1.75rem auto !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
    display: block;
}

.blog-content-body iframe {
    max-width: 100% !important;
    border-radius: 0.875rem !important;
    margin: 1.75rem 0 !important;
}

.blog-content-body hr {
    border: 0 !important;
    border-top: 1px solid #e2e8f0 !important;
    margin: 2.25rem 0 !important;
}

/* Tables & Responsive Wrapper */
.table-responsive-wrapper {
    width: 100%;
    margin: 2rem 0;
    overflow-x: auto;
    border-radius: 0.875rem;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05), 0 1px 2px -1px rgba(0, 0, 0, 0.05);
    background-color: #ffffff;
    -webkit-overflow-scrolling: touch;
}

.table-responsive-wrapper::-webkit-scrollbar {
    height: 6px;
}

.table-responsive-wrapper::-webkit-scrollbar-track {
    background: #f8fafc;
    border-radius: 4px;
}

.table-responsive-wrapper::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

.table-responsive-wrapper::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

.blog-content-body table {
    width: 100% !important;
    min-width: 500px;
    border-collapse: collapse !important;
    font-size: 0.9375rem;
    text-align: left;
    margin: 0 !important;
}

.blog-content-body table thead,
.blog-content-body table tr:first-child th {
    background-color: #f8fafc;
}

.blog-content-body table th {
    background-color: #f8fafc !important;
    color: #0f172a !important;
    font-weight: 700 !important;
    font-size: 0.8125rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    padding: 0.875rem 1.25rem !important;
    border-bottom: 2px solid #e2e8f0 !important;
    border-right: 1px solid #f1f5f9 !important;
    white-space: nowrap;
}

.blog-content-body table th:last-child {
    border-right: none !important;
}

.blog-content-body table td {
    padding: 0.875rem 1.25rem !important;
    color: #334155 !important;
    border-bottom: 1px solid #f1f5f9 !important;
    border-right: 1px solid #f1f5f9 !important;
    line-height: 1.625 !important;
    vertical-align: top;
}

.blog-content-body table td:last-child {
    border-right: none !important;
}

.blog-content-body table tbody tr:last-child td {
    border-bottom: none !important;
}

.blog-content-body table tbody tr:nth-child(even) {
    background-color: #fafbfc;
}

.blog-content-body table tbody tr:hover {
    background-color: #f1f5f9;
    transition: background-color 0.15s ease-in-out;
}