:root {
            --primary: #2563eb;
            --primary-dark: #1d4ed8;
            --heading: #111827;
            --text: #374151;
            --muted: #6b7280;
            --background: #f5f7fa;
            --surface: #ffffff;
            --border: #e5e7eb;
            --soft-blue: #eff6ff;
        }

        * {
            box-sizing: border-box;
        }

        html {
            scroll-behavior: smooth;
        }

        body {
            margin: 0;
            font-family: Arial, Helvetica, sans-serif;
            color: var(--text);
            background: var(--background);
            line-height: 1.7;
        }

        a {
            color: var(--primary);
        }

        a:hover {
            color: var(--primary-dark);
        }

        /* Navigation */

.site-nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 82px;
    padding: 10px 40px;
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
}

.nav-brand {
    display: flex;
    align-items: center;
    width: 220px;
    height: 60px;
    overflow: hidden;
    text-decoration: none;
}

.nav-brand img {
    display: block;
    width: 210px;
    height: 60px;
    object-fit: contain;
    object-position: left center;

    /*
     * Increase this value if the PNG contains transparent padding.
     * Remove transform after you crop the original image.
     */
    transform: scale(2.8);
    transform-origin: left center;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-links > li {
    position: relative;
}

.nav-links a {
    display: flex;
    align-items: center;
    min-height: 58px;
    color: #374151;
    font-weight: 600;
    text-decoration: none;
}

.nav-links a:hover,
.nav-links a.active {
    color: #2563eb;
}

/* Plugins dropdown */

.dropdown {
    position: relative;
}

.dropdown-link {
    display: flex;
    align-items: center;
    gap: 6px;
}

.dropdown-arrow {
    font-size: 11px;
    transition: transform 0.2s ease;
}

.dropdown:hover .dropdown-arrow,
.dropdown:focus-within .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: -12px;
    z-index: 1100;
    display: none;
    min-width: 210px;
    margin: 0;
    padding: 8px;
    list-style: none;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    box-shadow: 0 14px 35px rgba(17, 24, 39, 0.14);
}

/*
 * Keeps the dropdown open while moving from the Plugins link
 * into the dropdown menu.
 */
.dropdown::after {
    position: absolute;
    top: 100%;
    left: -12px;
    width: 210px;
    height: 8px;
    content: "";
}

.dropdown-menu li {
    width: 100%;
}

.dropdown-menu a {
    display: block;
    min-height: auto;
    padding: 11px 13px;
    color: #374151;
    border-radius: 7px;
    white-space: nowrap;
}

.dropdown-menu a:hover {
    color: #2563eb;
    background: #eff6ff;
}

.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu {
    display: block;
}

/* Mobile navigation button */

.menu-toggle {
    display: none;
    padding: 8px 12px;
    color: #111827;
    background: transparent;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}

@media (max-width: 800px) {
    .site-nav {
        flex-wrap: wrap;
        padding: 10px 20px;
    }

    .nav-brand {
        width: 180px;
        height: 55px;
    }

    .nav-brand img {
        width: 175px;
        height: 55px;
    }

    .menu-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding-top: 14px;
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links > li {
        width: 100%;
    }

    .nav-links > li > a {
        width: 100%;
        min-height: auto;
        padding: 12px 0;
    }

    .dropdown-menu {
        position: static;
        display: block;
        width: 100%;
        min-width: 0;
        margin: 0 0 8px 14px;
        padding: 0 0 0 14px;
        background: transparent;
        border: 0;
        border-left: 2px solid #e5e7eb;
        border-radius: 0;
        box-shadow: none;
    }

    .dropdown::after {
        display: none;
    }

    .dropdown-menu a {
        padding: 9px 0;
    }

    .dropdown-arrow {
        display: none;
    }
}

        /* Page header */
.logo{
    max-width:260px;
    width:100%;
    margin-bottom:30px;
}
        .page-header {
            padding: 76px 20px 66px;
            text-align: center;
            background: var(--surface);
            border-bottom: 1px solid var(--border);
        }

        .page-label {
            display: inline-block;
            margin-bottom: 18px;
            padding: 7px 13px;
            color: var(--primary-dark);
            background: #dbeafe;
            border-radius: 999px;
            font-size: 14px;
            font-weight: 700;
        }

        .page-header h1 {
            margin: 0 0 16px;
            color: var(--heading);
            font-size: clamp(36px, 6vw, 52px);
            line-height: 1.15;
        }

        .page-header p {
            max-width: 680px;
            margin: 0 auto;
            color: var(--muted);
            font-size: 19px;
        }

        /* Documentation layout */

        .docs-layout {
            display: grid;
            grid-template-columns: 230px minmax(0, 1fr);
            gap: 34px;
            width: min(1120px, calc(100% - 40px));
            margin: 0 auto;
            padding: 64px 0 80px;
        }

        .docs-sidebar {
            align-self: start;
            position: sticky;
            top: 102px;
        }

        .sidebar-card {
            padding: 22px;
            background: var(--surface);
            border: 1px solid var(--border);
            border-radius: 14px;
            box-shadow: 0 8px 22px rgba(17, 24, 39, 0.05);
        }

        .sidebar-card h2 {
            margin: 0 0 14px;
            color: var(--heading);
            font-size: 17px;
        }

        .sidebar-card ul {
            margin: 0;
            padding: 0;
            list-style: none;
        }

        .sidebar-card li + li {
            margin-top: 6px;
        }

        .sidebar-card a {
            display: block;
            padding: 8px 10px;
            color: var(--text);
            border-radius: 7px;
            font-size: 15px;
            text-decoration: none;
        }

        .sidebar-card a:hover {
            color: var(--primary);
            background: var(--soft-blue);
        }

        .docs-content {
            min-width: 0;
        }

        .doc-card {
            margin-bottom: 26px;
            padding: 36px;
            background: var(--surface);
            border: 1px solid var(--border);
            border-radius: 16px;
            box-shadow: 0 10px 28px rgba(17, 24, 39, 0.05);
            scroll-margin-top: 105px;
        }

        .doc-card:last-child {
            margin-bottom: 0;
        }

        .doc-card h2 {
            margin: 0 0 18px;
            color: var(--heading);
            font-size: 28px;
            line-height: 1.25;
        }

        .doc-card h3 {
            margin: 28px 0 8px;
            color: var(--heading);
            font-size: 19px;
        }

        .doc-card p {
            margin: 0 0 16px;
        }

        .doc-card p:last-child {
            margin-bottom: 0;
        }

        .doc-card ul,
        .doc-card ol {
            margin: 14px 0 0;
            padding-left: 24px;
        }

        .doc-card li {
            margin-bottom: 10px;
        }

        .doc-card li:last-child {
            margin-bottom: 0;
        }

        .notice {
            margin-top: 24px;
            padding: 18px 20px;
            background: var(--soft-blue);
            border-left: 4px solid var(--primary);
            border-radius: 8px;
        }

        .notice strong {
            color: var(--heading);
        }

        .check-grid {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 12px;
            margin-top: 22px;
        }

        .check-item {
            padding: 14px 16px;
            background: #f9fafb;
            border: 1px solid var(--border);
            border-radius: 10px;
        }

        .button {
            display: inline-block;
            margin-top: 8px;
            padding: 13px 22px;
            color: #ffffff;
            background: var(--primary);
            border-radius: 9px;
            font-weight: 700;
            text-decoration: none;
        }

        .button:hover {
            color: #ffffff;
            background: var(--primary-dark);
        }

        code {
            padding: 3px 6px;
            color: #1e3a8a;
            background: #eff6ff;
            border-radius: 5px;
            font-size: 0.95em;
        }

        

        .copyright {
            margin: 0;
            color: #9ca3af;
            font-size: 14px;
        }

        /* Responsive styles */

        @media (max-width: 900px) {
            .docs-layout {
                grid-template-columns: 1fr;
            }

            .docs-sidebar {
                position: static;
            }

            .sidebar-card ul {
                display: flex;
                flex-wrap: wrap;
                gap: 6px;
            }

            .sidebar-card li + li {
                margin-top: 0;
            }
        }

        @media (max-width: 800px) {
            .site-nav {
                flex-wrap: wrap;
                padding: 12px 20px;
            }

            .menu-toggle {
                display: block;
            }

            .nav-links {
                display: none;
                width: 100%;
                flex-direction: column;
                align-items: flex-start;
                gap: 4px;
                padding-top: 18px;
            }

            .nav-links.open {
                display: flex;
            }

            .nav-links > li {
                width: 100%;
            }

            .nav-links a {
                display: block;
                width: 100%;
                padding: 10px 0;
            }

            .dropdown-link {
                justify-content: flex-start;
            }

            .dropdown-menu {
                position: static;
                display: block;
                min-width: 0;
                margin-left: 16px;
                padding: 0 0 0 12px;
                border: 0;
                border-left: 2px solid var(--border);
                border-radius: 0;
                box-shadow: none;
            }

            .dropdown-menu a {
                padding: 8px 0;
            }
        }

        @media (max-width: 640px) {
            .page-header {
                padding: 56px 20px 50px;
            }

            .docs-layout {
                width: min(100% - 28px, 1120px);
                padding: 40px 0 60px;
            }

            .doc-card {
                padding: 25px 21px;
            }

            .doc-card h2 {
                font-size: 24px;
            }

            .check-grid {
                grid-template-columns: 1fr;
            }
        }
        /* Footer */

        .site-footer {
            padding: 52px 20px;
            color: #d1d5db;
            background: var(--heading);
        }

        .footer-inner {
            display: grid;
            grid-template-columns: 1.2fr 0.8fr 0.8fr;
            gap: 45px;
            max-width: 1100px;
            margin: 0 auto;
        }

        .footer-brand strong {
            display: block;
            margin-bottom: 10px;
            color: #ffffff;
            font-size: 20px;
        }

        .footer-brand p {
            max-width: 430px;
            margin: 0;
            color: #9ca3af;
        }

        .footer-column h3 {
            margin: 0 0 14px;
            color: #ffffff;
            font-size: 15px;
        }

        .footer-column a {
            display: block;
            margin-bottom: 9px;
            color: #d1d5db;
            text-decoration: none;
        }

        .footer-column a:hover {
            color: #ffffff;
        }

        .footer-bottom {
            max-width: 1100px;
            margin: 40px auto 0;
            padding-top: 24px;
            color: #9ca3af;
            border-top: 1px solid #374151;
            font-size: 14px;
        }

/* WordPress menu integration */
.nav-links .sub-menu{position:absolute;top:100%;left:-14px;z-index:1100;display:none;min-width:210px;margin:0;padding:8px;list-style:none;background:var(--surface,#fff);border:1px solid var(--border,#e5e7eb);border-radius:12px;box-shadow:0 16px 40px rgba(17,24,39,.14)}
.nav-links .menu-item-has-children:hover>.sub-menu,.nav-links .menu-item-has-children:focus-within>.sub-menu{display:block}
.nav-links .sub-menu a{display:block;min-height:auto;padding:11px 13px;border-radius:8px;white-space:nowrap}
.footer-menu{margin:0;padding:0;list-style:none}.footer-menu li{margin:0}.footer-menu a{display:block;margin-bottom:9px}
.custom-logo-link{display:flex;align-items:center;height:60px;overflow:hidden}.custom-logo{display:block;height:60px;object-fit:contain;object-position:left center;transform:none!important}
@media(max-width:800px){.nav-links .sub-menu{position:static;display:block;width:100%;min-width:0;margin:0 0 8px 14px;padding:0 0 0 14px;background:transparent;border:0;border-left:2px solid var(--border,#e5e7eb);border-radius:0;box-shadow:none}.nav-links .sub-menu a{padding:9px 0}}
