/* Reset and base styles */
:root {
    --primary-color: #FF1654;
    --background: #ffffff;  
    --text: #000000;
    --nav-hover-color: rgba(255, 255, 255, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background: #ffffff;
    color: var(--text);
    line-height: 1.5;
}

/* Header and Navigation */
.site-header {
    padding: 2px 0px;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--background);
    padding: 0.3rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4px 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo a {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text);
    text-decoration: none;
    display: flex;
}

/* Desktop Navigation */
.main-nav {
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    gap: 3rem;
    list-style: none;
}

.nav-links a {
    color: var(--text);
    text-decoration: none;
    font-size: 1.125rem;
    font-weight: 500;
}

.header-cta {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Install Button */
.install-button {
    background: var(--primary-color);
    color: var(--text);
    padding: 0.2rem 2rem;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.25rem;
    transition: transform 0.2s ease;
    display: inline-block;
}

.install-button:hover {
    transform: translateY(-2px);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-menu-toggle svg {
    width: 32px;
    height: 32px;
}

.mobile-menu-toggle svg path {
    transition: all 0.3s ease;
}

/* Optional: Add hover effect */
.mobile-menu-toggle:hover {
    opacity: 0.8;
}

.menu-icon {
    display: block;
}

.close-icon {
    display: none;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    inset: 0;
    background: var(--background);
    z-index: 2000;
    display: flex;
    flex-direction: column;
    visibility: hidden;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu.active {
    visibility: visible;
    transform: translateX(0);
}

.mobile-menu-header {
    padding: 0rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transform: translateX(-100%);
   
}
img {
    height: 100%;
    max-width: 100%;
}
.mobile-menu.active .mobile-menu-header {
    transform: translateX(0);
}

.mobile-nav {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    text-align: center;
    transform: translateX(50px);
    opacity: 0;
  
}
.article-header .container {
    padding: 0px 7px;
}
.mobile-menu.active .mobile-nav {
    transform: translateX(0);
    opacity: 1;
}

.mobile-nav ul {
    list-style: none;
    margin-bottom: 0rem;
}

.mobile-nav ul li {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transition-delay: calc(0.1s * var(--i) + 0.3s);
}

.mobile-menu.active .mobile-nav ul li {
    opacity: 1;
    transform: translateY(0);
}

.mobile-nav ul a {
    color: #000;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 500;
    display: block;
    transition: opacity 0.2s ease;
}

.mobile-nav ul a:hover {
    opacity: 0.7;
}

.mobile-install {
    margin-top: 2rem;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .main-nav,
    .header-cta .install-button {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .site-header {
        padding: 0.75rem 0;
    }

    body.menu-open {
        overflow: hidden;
    }
}

@media (min-width: 769px) {
    .mobile-menu-toggle {
        display: none !important;
    }
}
a.toc-link {
    border: none !important;
}

/* Footer styles */
.site-footer {
    background-color: var(--background);
    padding: 4rem 0;

}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.footer-column h3 {
    color: var(--text);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 1rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--text);
}

.footer-bottom {
    max-width: 1200px;
    margin: 2rem auto 0;
    padding: 2rem 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
}

/* Responsive styles */
@media (max-width: 768px) {
    .main-nav {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .footer-container {
        grid-template-columns: 1fr;
    }
}

.mobile-close {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-close svg {
    width: 32px;
    height: 32px;
}

/* Remove any background from the SVG paths */
.mobile-close svg path {
    fill: none;
    stroke: #000;
    stroke-width: 1.5;
}

/* Optional: Add hover effect */
.mobile-close:hover {
    opacity: 0.8;
}


/* Install button transition */
.mobile-install {
    margin-top: 0rem;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}




   /* Post Content Styles */
   .post-content {
    padding: 0px;
    background-color: #fff;
}



/* Main Column Styles */
.main-column {
    min-width: 0;
}

.article-main {
    width: 100%;
}

/* Table of Contents Styles */
.table-of-contents {
    background: #fff;
    padding: 25px;
    border-radius: 8px;
    margin: 0 0 40px 0;
    box-shadow: 0 0 30px 0 rgb(0 0 0 / .05);
}

.toc-heading {
    font-family: 'Segoe UI', sans-serif;
    font-size: 18px;
    color: #1a1a1a;
    margin: 0 0 30px 0;
    font-weight: 500;
    padding-bottom: 15px;
    border-bottom: 1px solid #f1f1f1;
}

.toc-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 0px;
}

.toc-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.toc-number {
    background: #154ab3;
    color: white;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    flex-shrink: 0;
    font-size: 14px;
}

.toc-link {
    color: #1a1a1a;
text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.5;
    padding-top: 4px;
}

.toc-link:hover {
    color: #0066cc;
}

body {
line-height: 1.6;
}
@media (max-width: 768px) {
    .toc-grid {
        grid-template-columns: 1fr;
    }

    .table-of-contents {
        padding: 20px;
    }

    .table-of-contents h2 {
        font-size: 24px;
        margin-bottom: 20px;
    }
}

/* Article Content Styles */
.article-content {
    font-family: 'Amiko', sans-serif;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #333;
}

/* Table Styles */
.article-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 25px 0;
    font-family: 'Amiko', sans-serif;
}

.article-content table th,
.article-content table td {
    padding: 12px 20px;
    text-align: left;
    border: 1px solid #eaeaea;
}

.article-content table th {
    background-color: transparent;
    font-weight: 600;
    color: #1a1a1a;
    font-size: 20px;
}

.article-content table td {
    color: #292929;
    font-size: 18px;
    line-height: 1.5;
    font-weight: 400;
}

.article-content table tr:hover {
    background-color: #f8f9fa;
}

.article-content h2 {
    font-family: 'Segoe UI', sans-serif;
    font-weight: 900;
    font-size: 34px;
    line-height: 1.2em;
    color: #1a1a1a;
    margin: 30px 0 15px;
}

.article-content h3 {
    font-family: 'Segoe UI', sans-serif;
    font-weight: 900;
    font-size: 24px;
    line-height: 1.2em;
    color: #1a1a1a;
    margin: 30px 0 15px;
    margin-top: 14px;
}

.article-content p {
    font-family: 'Amiko', sans-serif;
    font-size: 19px;
    margin: 20px 0;
    color: #292929;

}

.article-content ol {
    list-style: none;
    counter-reset: item;
    margin: 20px 0;
    padding-left: 0;
}

.article-content ol > li {
    counter-increment: item;
    margin: 15px 0;
    padding-left: 45px;
    position: relative;
    line-height: 1.6;
    color: #292929;
}

.article-content ol > li::before {
    content: counter(item);
    background: #eee;
    color: #666;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 500;
    position: absolute;
    left: 0;
    top: 0;
    color:#292929;
    font-weight: 600;
}

/* Reset styles for nested lists */
.article-content ol > li ol {
    list-style: decimal;
    padding-left: 20px;
    margin: 10px 0;
}

.article-content ol > li ol li {
    padding-left: 0;
    margin: 5px 0;
}

.article-content ol > li ol li::before {
    display: none;
}

.article-content ul {
    margin: 20px 0;
    padding-left: 25px;
}

.article-content ul li {
    margin: 10px 0;
}

.article-content ol > li,
.article-content ul > li {
    font-family: 'Amiko', sans-serif;
}
