body {
    font-family: 'Poppins', sans-serif;
}

header {
    transition: top 0.3s ease-in-out;
}

#mobile-menu {
    position: fixed;
    top: 60px;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    transform: translateX(-100%);
    transition: transform 0.3s ease-in-out;
    z-index: 40;
}

#mobile-menu.menu-open {
    transform: translateX(0);
}

#mobile-menu a {
    display: flex;
    align-items: center;
    padding: 0.5rem 1rem;
    color: #4a5568;
    text-decoration: none;
    border-bottom: 1px solid #e2e8f0;
    transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
}

#mobile-menu a:hover {
    background-color: #e2e8f0;
    color: #1a202c;
}

.active {
    font-weight: bold;
    color: #1a202c;
}

.page-content {
    font-size: 1rem;
    line-height: 1.5;
}

.page-content ul,
.page-content ol {
    padding-left: 2rem;
    margin-bottom: 1rem;
}

.page-content ul {
    list-style-type: disc;
}

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

.page-content ul li,
.page-content ol li {
    margin-bottom: 0.5rem;
}

.page-content a {
    color: #007bff;
    text-decoration: none;
}

.page-content a:hover {
    text-decoration: underline;
}

.page-content blockquote {
    border-left: 4px solid #e2e8f0;
    padding-left: 1rem;
    margin: 1rem 0;
    font-style: italic;
    color: #4a5568;
}

.page-content pre {
    background-color: #f8f9fa;
    padding: 1rem;
    border-radius: 0.375rem;
    overflow-x: auto;
    white-space: pre-wrap;
}

.page-content code {
    background-color: #f8f9fa;
    padding: 0.2rem 0.4rem;
    border-radius: 0.375rem;
    font-size: 0.875rem;
}

#dropdown-menu {
    position: absolute;
    top: calc(100% + 80px);
    left: 10px;
    width: 100%;
    background-color: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    z-index: 50;
    display: none;
}

#dropdown-menu.show {
    display: block;
}

#dropdown-menu a {
    padding: 0.5rem 1rem;
    color: #4a5568;    text-decoration: none;
    display: block;
}

#dropdown-menu a:hover {
    background-color: #e2e8f0;
}

@media (max-width: 768px) {
    #mobile-menu.header-tagline {
        top: 90px;
    }
    
    #mobile-menu.header-no-tagline {
        top: 65px;
    }
}

.image-arrow {
    color: white;
}

@media (max-width: 768px) {
    .mobile-search {
        width: 100%;
        margin-top: 1rem;
        margin-bottom: 2rem;
        display: block;
    }
}

.drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 250px;
    height: 100%;
    background-color: white;
    box-shadow: -2px 0px 8px rgba(0, 0, 0, 0.2);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 1000;
}

.drawer-open {
    transform: translateX(0);
}

.drawer-content {
    padding: 1rem;
}

.drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.drawer-close {
    cursor: pointer;
    font-size: 1.5rem;
}

.drawer-item {
    margin: 0.5rem 0;
    padding: 0.5rem;
    font-size: 1rem;
    font-weight: normal;
    color: #333;
    cursor: pointer;
    border-radius: 0;
    transition: background-color 0.3s ease, border-radius 0.3s ease;
}

.drawer-item:hover {
    background-color: #e2e8f0;
    border-radius: 0.5rem;
}

@keyframes fade-in-up {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.animate-fade-in-up {
    animation: fade-in-up 0.6s ease-out forwards;
}
.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }

.faq-item {
    overflow: hidden;
}

.faq-item .answer-container div {
    font-weight: normal !important;
    margin-bottom: -1px;
    margin-left: -1px;
    margin-right: -1px;
    width: calc(100% + 2px);
}

.faq-item.active .answer-container div {
    font-weight: normal !important;
}

.content a {
    color: #1a0dab;
    text-decoration: underline;
}

.content blockquote {
    border-left: 4px solid #ccc;
    margin: 1.5em 0;
    padding: 0.75em 1em;
    background-color: #f9f9f9;
    font-style: italic;
    color: #555;
}

.content q {
    quotes: "“" "”" "‘" "’";
}

.content q:before {
    content: open-quote;
}

.content q:after {
    content: close-quote;
}

.content ul, .content ol {
    padding-left: 1.5rem;
    margin: 1rem 0;
}

.content ul {
    list-style-type: disc;
}

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

.content li {
    margin-bottom: 0.5rem;
}

.content code {
    background-color: #f4f4f4;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.95em;
    color: #d63384;
    white-space: pre-wrap;
}

.content pre {
    background-color: #2d2d2d;
    color: #f8f8f2;
    padding: 1em;
    border-radius: 6px;
    overflow-x: auto;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.95em;
    margin-bottom: 1em;
    line-height: 1.5;
}

.content pre code {
    background: none;
    padding: 0;
    color: inherit;
    font-size: inherit;
}

.content h1, .content h2, .content h3,
.content h4, .content h5, .content h6 {
    font-weight: 600;
    color: #1a202c;
    margin-top: 1.25rem;
    margin-bottom: 0.75rem;
    line-height: 1.25;
}

.content h1 {
    font-size: 1.5rem;
}

.content h2 {
    font-size: 1.375rem;
}

.content h3 {
    font-size: 1.25rem;
}

.content h4 {
    font-size: 1.125rem;
}

.content h5 {
    font-size: 1rem;
}

.content h6 {
    font-size: 0.875rem;
}

.badge {
    display: inline-block;
    padding: 4px 8px;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 4px;
    margin-left: 10px;
}

.badge.published {
    background-color: green;
    color: white;
}

.badge.draft {
    background-color: gray;
    color: white;
}

.desktop-menu .current-menu-item > .header-link {
    color: var(--primary-color, #007cba);
    font-weight: 600;
    position: relative;
}

.desktop-menu .current-menu-item > .header-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: var(--primary-color, #007cba);
    border-radius: 1px;
}

.desktop-menu .header-link.active {
    color: var(--primary-color, #007cba);
    font-weight: 600;
}

.desktop-menu .dropdown-link.active {
    color: var(--primary-color, #007cba);
    font-weight: 600;
    background-color: var(--primary-color-light, rgba(0, 124, 186, 0.1));
}

.mobile-menu-items .current-menu-item {
    background-color: var(--primary-color-light, rgba(0, 124, 186, 0.1));
    border-left: 4px solid var(--primary-color, #007cba);
}

.mobile-menu-items .mobile-menu-link.active {
    color: var(--primary-color, #007cba) !important;
    font-weight: 600;
}

.mobile-menu-items .mobile-submenu a.active {
    color: var(--primary-color, #007cba) !important;
    font-weight: 600;
    background-color: var(--primary-color-light, rgba(0, 124, 186, 0.1));
}

.desktop-menu .header-link:not(.active):hover {
    color: var(--primary-color, #007cba);
    transition: color 0.2s ease;
}

.desktop-menu .dropdown-link:not(.active):hover {
    color: var(--primary-color, #007cba);
    background-color: var(--primary-color-light, rgba(0, 124, 186, 0.05));
    transition: all 0.2s ease;
}

.mobile-menu-items .mobile-menu-link:not(.active):hover {
    color: var(--primary-color, #007cba) !important;
    transition: color 0.2s ease;
}

/* Alternative highlighting styles (uncomment to use) */
/*
.desktop-menu .current-menu-item > .header-link {
    background-color: var(--primary-color, #007cba);
    color: white;
    padding: 8px 12px;
    border-radius: 4px;
}

.mobile-menu-items .current-menu-item {
    background: linear-gradient(90deg, var(--primary-color, #007cba), transparent);
}
*/
