/*
Theme Name: Agentic
Theme URI: https://github.com/renduples/agent-builder
Author: Agentic Plugin Contributors
Author URI: https://agentic-plugin.com
Description: An agent-aware WordPress theme with built-in support for AI-powered personalization, conversational interfaces, and dynamic content adaptation.
Version: 0.1.0-alpha
Requires at least: 6.4
Tested up to: 6.7
Requires PHP: 8.1
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: agentic
Tags: ai, agents, full-site-editing, block-patterns, accessibility-ready

Agentic Theme - Built for the AI-native WordPress plugin ecosystem.
*/

/* ==========================================================================
   CSS Custom Properties
   ========================================================================== */

:root {
    /* Colors */
    --agentic-primary: #0073aa;
    --agentic-primary-dark: #005a87;
    --agentic-secondary: #23282d;
    --agentic-accent: #00a0d2;
    --agentic-success: #46b450;
    --agentic-warning: #ffb900;
    --agentic-error: #dc3232;

    /* Surfaces */
    --agentic-background: #ffffff;
    --agentic-surface: #f1f1f1;
    --agentic-surface-elevated: #ffffff;

    /* Text */
    --agentic-text-primary: #1e1e1e;
    --agentic-text-secondary: #757575;
    --agentic-text-inverse: #ffffff;

    /* Spacing */
    --agentic-spacing-xs: 0.25rem;
    --agentic-spacing-sm: 0.5rem;
    --agentic-spacing-md: 1rem;
    --agentic-spacing-lg: 1.5rem;
    --agentic-spacing-xl: 2rem;
    --agentic-spacing-2xl: 3rem;

    /* Typography */
    --agentic-font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    --agentic-font-size-base: 1rem;
    --agentic-line-height-base: 1.6;

    /* Borders */
    --agentic-border-radius: 4px;
    --agentic-border-color: #ddd;

    /* Shadows */
    --agentic-shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --agentic-shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --agentic-shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);

    /* Agent Chat Widget */
    --agentic-chat-bg: var(--agentic-surface-elevated);
    --agentic-chat-user-bg: var(--agentic-primary);
    --agentic-chat-agent-bg: var(--agentic-surface);
    --agentic-chat-width: 380px;
    --agentic-chat-height: 500px;
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    :root {
        --agentic-background: #1e1e1e;
        --agentic-surface: #2d2d2d;
        --agentic-surface-elevated: #3c3c3c;
        --agentic-text-primary: #ffffff;
        --agentic-text-secondary: #a0a0a0;
        --agentic-border-color: #444;
    }
}

/* ==========================================================================
   Base Styles
   ========================================================================== */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: var(--agentic-font-family);
    font-size: var(--agentic-font-size-base);
    line-height: var(--agentic-line-height-base);
    color: var(--agentic-text-primary);
    background-color: var(--agentic-background);
}

/* ==========================================================================
   Header Styles
   ========================================================================== */

.site-header {
    position: relative;
    z-index: 100;
    background: #1a1a2e;
}

/* Admin bar adjustment */
.admin-bar .site-header {
    margin-top: 0;
}

.site-header__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Branding */
.site-branding {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.custom-logo-link {
    display: flex;
    align-items: center;
}

.custom-logo {
    max-height: 65px;
    width: auto;
    height: auto;
}

.site-branding__link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: #ffffff;
    font-weight: 600;
    font-size: 1.25rem;
}

.site-branding__icon {
    opacity: 0.9;
}

.site-branding__text {
    letter-spacing: -0.02em;
}

.site-branding__name {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    line-height: 1.1;
}

.site-branding__name-top {
    font-size: 1.15rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.02em;
}

.site-branding__name-bottom {
    font-size: 1.15rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: -0.02em;
}

.site-branding__badge {
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.2rem 0.5rem;
    background: rgba(255, 179, 0, 0.2);
    color: #ffb300;
    border-radius: 4px;
    border: 1px solid rgba(255, 179, 0, 0.3);
}

/* Navigation */
.main-navigation {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.main-navigation__list {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-navigation__list a {
    display: block;
    padding: 0.5rem 1rem;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: 6px;
    transition: all 0.15s ease;
}

.main-navigation__list a:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
}

/* Agent Chat Link */
.agent-chat-link {
    background: linear-gradient(135deg, #8b5cf6 0%, #6366f1 100%) !important;
    padding: 0.35rem 0.75rem !important;
    border-radius: 6px !important;
    font-weight: 500 !important;
    transition: all 0.2s ease !important;
}

.agent-chat-link:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.4);
}

/* GitHub Button */
.github-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    color: #ffffff;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.15s ease;
}

.github-button:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.github-button svg {
    opacity: 0.9;
}

/* Account Link (Login/My Account) */
.header-account-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    border: none;
    border-radius: 6px;
    color: #ffffff;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.15s ease;
    margin-left: 0.5rem;
}

.header-account-link:hover {
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    transform: translateY(-1px);
}

.header-account-link svg {
    opacity: 0.9;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #ffffff;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 6px;
    transition: background 0.15s ease;
}

.menu-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
    .site-header__inner {
        padding: 1rem 1.5rem;
        flex-wrap: wrap;
    }

    .menu-toggle {
        display: block;
    }

    .main-navigation {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #1a1a2e;
        padding: 1rem 1.5rem;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    }

    .main-navigation.toggled {
        display: block;
    }

    .main-navigation__list {
        flex-direction: column;
        gap: 0.5rem;
    }

    .main-navigation__list li a {
        display: block;
        padding: 0.75rem 0;
    }

    .main-navigation .github-button {
        margin-top: 1rem;
        justify-content: center;
    }

    .site-branding__badge {
        display: none;
    }

    /* Hamburger to X animation */
    .menu-toggle.is-active svg path {
        d: path("M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z");
    }
}

/* ==========================================================================
   Agent Chat Widget Styles
   ========================================================================== */

.agentic-chat-widget {
    position: fixed;
    bottom: var(--agentic-spacing-lg);
    right: var(--agentic-spacing-lg);
    z-index: 9999;
    font-family: var(--agentic-font-family);
}

.agentic-chat-trigger {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--agentic-primary);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--agentic-shadow-lg);
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.agentic-chat-trigger:hover {
    transform: scale(1.05);
    background-color: var(--agentic-primary-dark);
}

.agentic-chat-trigger svg {
    width: 28px;
    height: 28px;
    fill: var(--agentic-text-inverse);
}

.agentic-chat-container {
    display: none;
    position: absolute;
    bottom: 70px;
    right: 0;
    width: var(--agentic-chat-width);
    height: var(--agentic-chat-height);
    background-color: var(--agentic-chat-bg);
    border-radius: var(--agentic-border-radius);
    box-shadow: var(--agentic-shadow-lg);
    flex-direction: column;
    overflow: hidden;
}

.agentic-chat-container.is-open {
    display: flex;
}

.agentic-chat-header {
    padding: var(--agentic-spacing-md);
    background-color: var(--agentic-primary);
    color: var(--agentic-text-inverse);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.agentic-chat-header h3 {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
}

.agentic-chat-close {
    background: none;
    border: none;
    color: var(--agentic-text-inverse);
    cursor: pointer;
    padding: var(--agentic-spacing-xs);
}

.agentic-chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: var(--agentic-spacing-md);
}

.agentic-chat-message {
    margin-bottom: var(--agentic-spacing-md);
    padding: var(--agentic-spacing-sm) var(--agentic-spacing-md);
    border-radius: var(--agentic-border-radius);
    max-width: 85%;
}

.agentic-chat-message--user {
    background-color: var(--agentic-chat-user-bg);
    color: var(--agentic-text-inverse);
    margin-left: auto;
}

.agentic-chat-message--agent {
    background-color: var(--agentic-chat-agent-bg);
    color: var(--agentic-text-primary);
}

.agentic-chat-input-container {
    padding: var(--agentic-spacing-md);
    border-top: 1px solid var(--agentic-border-color);
    display: flex;
    gap: var(--agentic-spacing-sm);
}

.agentic-chat-input {
    flex: 1;
    padding: var(--agentic-spacing-sm) var(--agentic-spacing-md);
    border: 1px solid var(--agentic-border-color);
    border-radius: var(--agentic-border-radius);
    font-size: 0.9rem;
}

.agentic-chat-send {
    padding: var(--agentic-spacing-sm) var(--agentic-spacing-md);
    background-color: var(--agentic-primary);
    color: var(--agentic-text-inverse);
    border: none;
    border-radius: var(--agentic-border-radius);
    cursor: pointer;
    font-weight: 500;
}

.agentic-chat-send:hover {
    background-color: var(--agentic-primary-dark);
}

/* ==========================================================================
   Agent Personalization Indicators
   ========================================================================== */

[data-agent-personalize="true"] {
    position: relative;
}

.agentic-personalized-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: var(--agentic-accent);
    color: var(--agentic-text-inverse);
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 10px;
}

/* ==========================================================================
   Accessibility
   ========================================================================== */

.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}

.screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    clip-path: none;
    color: #21759b;
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}

/* Focus styles */
:focus {
    outline: 2px solid var(--agentic-primary);
    outline-offset: 2px;
}

:focus:not(:focus-visible) {
    outline: none;
}

:focus-visible {
    outline: 2px solid var(--agentic-primary);
    outline-offset: 2px;
}

/* ==========================================================================
   Landing Page - Hero Section
   ========================================================================== */

.agentic-landing {
    max-width: 100%;
    overflow-x: hidden;
}

.agentic-hero {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    color: #ffffff;
    padding: 8rem 2rem 5rem;
    text-align: center;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.agentic-hero__content {
    max-width: 960px;
    margin: 0 auto;
}

.agentic-hero__badge {
    display: inline-block;
    background: rgba(255, 179, 0, 0.2);
    color: #ffb300;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 179, 0, 0.3);
}

.agentic-hero__title {
    font-size: 3rem;
    font-weight: 700;
    margin: 0 0 1.5rem;
    line-height: 1.2;
}

.agentic-hero__icon {
    display: block;
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.agentic-hero__tagline {
    font-size: 1.35rem;
    opacity: 0.9;
    margin: 0 0 2rem;
    line-height: 1.5;
}

.agentic-hero__actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Hero Features Two-Column Layout */
.agentic-hero__features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    text-align: left;
    max-width: 960px;
    margin: 0 auto 2.5rem;
}

.agentic-hero__feature-col h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 0.75rem;
    opacity: 0.95;
}

.agentic-hero__feature-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.agentic-hero__feature-col li {
    padding: 0.4rem 0;
    padding-left: 1.25rem;
    position: relative;
    font-size: 0.95rem;
    opacity: 0.9;
}

.agentic-hero__feature-col li::before {
    content: "•";
    position: absolute;
    left: 0;
    opacity: 0.6;
}

.agentic-hero__benefits li {
    padding-left: 0;
}

.agentic-hero__benefits li::before {
    display: none;
}

.benefit-check {
    margin-right: 0.5rem;
}

@media (max-width: 768px) {
    .agentic-hero__features {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* Buttons */
.agentic-btn {
    display: inline-block;
    padding: 0.875rem 1.75rem;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    border: 2px solid transparent;
}

.agentic-btn--primary {
    background: #0073aa;
    color: #ffffff;
}

.agentic-btn--primary:hover {
    background: #005a87;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 115, 170, 0.4);
}

.agentic-btn--secondary {
    background: transparent;
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.5);
}

.agentic-btn--secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #ffffff;
}

/* ==========================================================================
   Docs Layout with Left Sidebar
   ========================================================================== */

.agentic-docs-wrapper {
    display: flex;
    min-height: 100vh;
    background: #fafafa;
}

/* Sidebar */
.agentic-sidebar {
    width: 260px;
    flex-shrink: 0;
    background: #ffffff;
    border-right: 1px solid #e5e7eb;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
    padding: 2rem 0;
}

.agentic-sidebar__nav {
    padding: 0 1rem;
}

.agentic-sidebar__section {
    margin-bottom: 1.75rem;
}

.agentic-sidebar__heading {
    padding: 0 0.75rem;
    margin: 0 0 0.5rem;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #6b7280;
}

.agentic-sidebar__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.agentic-sidebar__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 0.75rem;
    color: #374151;
    text-decoration: none;
    font-size: 0.9rem;
    border-radius: 6px;
    transition: all 0.15s ease;
}

.agentic-sidebar__link:hover {
    color: #0073aa;
    background: #f3f4f6;
}

.agentic-sidebar__link--active {
    color: #0073aa;
    background: #eff6ff;
    font-weight: 500;
}

.agentic-sidebar__external {
    font-size: 0.7rem;
    color: #9ca3af;
}

/* Main Content */
.agentic-docs-content {
    flex: 1;
    min-width: 0;
    max-width: 1248px;
    padding: 3rem 4rem;
}

/* Sections */
.agentic-docs-section {
    margin-bottom: 4rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid #e5e7eb;
}

.agentic-docs-section:last-of-type {
    border-bottom: none;
}

.agentic-docs-section h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0 0 0.75rem;
    color: #111827;
}

.agentic-docs-section__intro {
    font-size: 1.05rem;
    color: #6b7280;
    margin: 0 0 2rem;
    line-height: 1.6;
}

/* Info Cards */
.agentic-info-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.agentic-info-card {
    display: flex;
    flex-direction: column;
    padding: 1.25rem;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    transition: border-color 0.2s ease;
}

.agentic-info-card:hover {
    border-color: #0073aa;
}

.agentic-info-card__icon {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.agentic-info-card strong {
    font-size: 0.9rem;
    color: #111827;
    margin-bottom: 0.25rem;
}

.agentic-info-card span:last-child {
    font-size: 0.8rem;
    color: #6b7280;
}

/* Steps */
.agentic-steps {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.agentic-step {
    display: flex;
    gap: 1rem;
}

.agentic-step__num {
    width: 28px;
    height: 28px;
    background: #0073aa;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.agentic-step__body h3 {
    margin: 0 0 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    color: #111827;
}

.agentic-step__body p {
    margin: 0;
    color: #6b7280;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Code Block */
.agentic-code {
    background: #1f2937;
    border-radius: 6px;
    padding: 0.875rem 1rem;
    margin: 0.5rem 0 0;
    overflow-x: auto;
}

.agentic-code code {
    color: #e5e7eb;
    font-family: 'SF Mono', Monaco, 'Consolas', 'Liberation Mono', monospace;
    font-size: 0.85rem;
}

/* Card Links */
.agentic-cards-grid {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.agentic-cards-grid--five {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
}

@media (min-width: 1400px) {
    .agentic-cards-grid--five {
        grid-template-columns: repeat(5, 1fr);
    }
}

.agentic-card-link {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.agentic-cards-grid--five .agentic-card-link {
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    padding-right: 2.5rem;
}

.agentic-cards-grid--five .agentic-card-link__arrow {
    position: absolute;
    top: 1.25rem;
    right: 1rem;
}

.agentic-card-link:hover {
    border-color: #0073aa;
    box-shadow: 0 2px 8px rgba(0, 115, 170, 0.1);
}

.agentic-card-link__icon {
    font-size: 1.75rem;
    flex-shrink: 0;
}

.agentic-card-link__content {
    flex: 1;
}

.agentic-card-link__content h3 {
    margin: 0 0 0.25rem;
    font-size: 1rem;
    font-weight: 600;
    color: #111827;
}

.agentic-card-link__content p {
    margin: 0;
    font-size: 0.85rem;
    color: #6b7280;
}

.agentic-card-link__examples {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.75rem;
    color: #9ca3af;
    font-style: italic;
}

.agentic-card-link__arrow {
    color: #0073aa;
    font-size: 1.25rem;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.agentic-card-link:hover .agentic-card-link__arrow {
    opacity: 1;
}

/* Checklist */
.agentic-checklist {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.agentic-checklist__item {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
}

.agentic-checklist__check {
    width: 22px;
    height: 22px;
    background: #10b981;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: bold;
    flex-shrink: 0;
    margin-top: 2px;
}

.agentic-checklist__item strong {
    display: block;
    font-size: 0.9rem;
    color: #111827;
    margin-bottom: 0.15rem;
}

.agentic-checklist__item p {
    margin: 0;
    font-size: 0.8rem;
    color: #6b7280;
}

/* Progress */
.agentic-progress {
    margin-bottom: 1.5rem;
}

.agentic-progress__bar {
    height: 8px;
    background: #e5e7eb;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.agentic-progress__fill {
    height: 100%;
    background: linear-gradient(90deg, #0073aa, #00a0d2);
    border-radius: 4px;
}

.agentic-progress__label {
    font-size: 0.85rem;
    color: #6b7280;
}

/* Roadmap List */
.agentic-roadmap-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.agentic-roadmap-item {
    padding: 0.75rem 1rem;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    font-size: 0.9rem;
    color: #6b7280;
}

.agentic-roadmap-item--done {
    color: #111827;
    border-color: #10b981;
    background: #f0fdf4;
}

/* Docs Footer */
.agentic-docs-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid #e5e7eb;
}

.agentic-docs-footer__feedback {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: #6b7280;
}

.agentic-docs-footer__btn {
    padding: 0.35rem 0.75rem;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 4px;
    color: #374151;
    cursor: pointer;
    font-size: 0.8rem;
    transition: all 0.15s ease;
}

.agentic-docs-footer__btn:hover {
    border-color: #0073aa;
    color: #0073aa;
}

.agentic-docs-footer__next {
    color: #0073aa;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
}

.agentic-docs-footer__next:hover {
    text-decoration: underline;
}

/* Site Footer */
.site-footer {
    background: #0a0a16;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 50px 20px 30px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 15px;
}

.footer-col .menu-item {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-col a {
    display: block;
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: 0.9rem;
    padding: 6px 0;
    transition: color 0.2s;
}

.footer-col a:hover {
    color: #a855f7;
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
}

.footer-bottom span {
    color: rgba(255,255,255,0.5);
    font-size: 0.85rem;
}

.site-disclaimer {
    font-size: 0.75rem !important;
    color: rgba(255,255,255,0.35) !important;
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .agentic-docs-content {
        padding: 2rem;
    }
    
    .agentic-info-cards {
        grid-template-columns: 1fr;
    }
    
    .agentic-checklist {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .agentic-hero {
        padding: 6rem 1.5rem 4rem;
        min-height: auto;
    }

    .agentic-hero__title {
        font-size: 2.25rem;
    }

    .agentic-hero__icon {
        font-size: 2.5rem;
    }

    .agentic-hero__tagline {
        font-size: 1.1rem;
    }

    .agentic-docs-wrapper {
        flex-direction: column;
    }

    .agentic-sidebar {
        width: 100%;
        position: relative;
        height: auto;
        border-right: none;
        border-bottom: 1px solid #e5e7eb;
        padding: 1.5rem 0;
    }
    
    .agentic-docs-wrapper--dark .agentic-sidebar {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .agentic-sidebar__section {
        margin-bottom: 1rem;
    }

    .agentic-docs-content {
        padding: 2rem 1.5rem;
    }

    .agentic-docs-footer {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
}

/* ==========================================================================
   Roadmap Pages Styles
   ========================================================================== */

/* Docs wrapper for pages (without hero) */
.agentic-docs-wrapper--page {
    min-height: calc(100vh - 70px);
    padding-top: 70px; /* Account for fixed header */
}

.admin-bar .agentic-docs-wrapper--page {
    min-height: calc(100vh - 70px - 32px);
    padding-top: calc(70px + 32px);
}

/* ==========================================================================
   Dark Theme for Roadmap Pages
   ========================================================================== */

.agentic-docs-wrapper--dark {
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 50%, #16213e 100%);
}

.agentic-docs-wrapper--dark .agentic-sidebar {
    background: rgba(15, 15, 35, 0.8);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.agentic-docs-wrapper--dark .agentic-sidebar__heading {
    color: rgba(255, 255, 255, 0.5);
}

.agentic-docs-wrapper--dark .agentic-sidebar__link {
    color: rgba(255, 255, 255, 0.7);
}

.agentic-docs-wrapper--dark .agentic-sidebar__link:hover {
    color: #a78bfa;
    background: rgba(167, 139, 250, 0.1);
}

.agentic-docs-wrapper--dark .agentic-sidebar__link--active {
    color: #a78bfa !important;
    background: rgba(167, 139, 250, 0.2);
}

.agentic-docs-wrapper--dark .agentic-sidebar__external {
    color: rgba(255, 255, 255, 0.4);
}

.agentic-docs-wrapper--dark .agentic-docs-content {
    color: rgba(255, 255, 255, 0.9);
}

.agentic-docs-wrapper--dark .agentic-docs-article__header {
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

.agentic-docs-wrapper--dark .agentic-docs-article__header h1 {
    color: #ffffff;
}

.agentic-docs-wrapper--dark .agentic-docs-article__updated {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
    margin: 0.25rem 0 0;
}

.agentic-docs-wrapper--dark .agentic-docs-article__breadcrumb {
    color: rgba(255, 255, 255, 0.5);
}

.agentic-docs-wrapper--dark .agentic-docs-article__breadcrumb a {
    color: #a78bfa;
}

.agentic-docs-wrapper--dark .agentic-docs-article__content h2 {
    color: #ffffff;
}

.agentic-docs-wrapper--dark .agentic-docs-article__content h3 {
    color: rgba(255, 255, 255, 0.9);
    border-left-color: #a78bfa;
}

.agentic-docs-wrapper--dark .agentic-docs-article__content h4 {
    color: rgba(255, 255, 255, 0.4);
}

.agentic-docs-wrapper--dark .agentic-docs-article__content p,
.agentic-docs-wrapper--dark .agentic-docs-article__content li {
    color: rgba(255, 255, 255, 0.8);
}

.agentic-docs-wrapper--dark .agentic-docs-article__content a {
    color: #a78bfa;
}

.agentic-docs-wrapper--dark .agentic-docs-article__content a:hover {
    color: #c4b5fd;
}

.agentic-docs-wrapper--dark .agentic-docs-article__content code {
    background: rgba(167, 139, 250, 0.15);
    color: #c4b5fd;
    border: 1px solid rgba(167, 139, 250, 0.25);
    padding: 0.2em 0.4em;
    border-radius: 4px;
}

.agentic-docs-wrapper--dark .agentic-docs-article__content pre {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
}

.agentic-docs-wrapper--dark .agentic-docs-article__content pre code {
    background: transparent;
    color: rgba(255, 255, 255, 0.9);
    border: none;
}

.agentic-docs-wrapper--dark .agentic-docs-article__content blockquote {
    border-left: 4px solid #a78bfa;
    background: rgba(167, 139, 250, 0.1);
    color: rgba(255, 255, 255, 0.85);
    padding: 1rem 1.25rem 1rem 1.5rem;
    margin: 2rem 0;
    border-radius: 0 10px 10px 0;
}

.agentic-docs-wrapper--dark .agentic-docs-article__content p.lead {
    color: rgba(255, 255, 255, 0.6);
}

.agentic-docs-wrapper--dark .agentic-docs-article__content table {
    border-color: rgba(255, 255, 255, 0.1);
}

.agentic-docs-wrapper--dark .agentic-docs-article__content th {
    background: rgba(167, 139, 250, 0.2);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.1);
}

.agentic-docs-wrapper--dark .agentic-docs-article__content td {
    border-color: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
}

.agentic-docs-wrapper--dark .agentic-docs-article__content th {
    background: rgba(167, 139, 250, 0.2);
    color: #ffffff;
}

.agentic-docs-wrapper--dark .agentic-docs-article__content tr:nth-child(even) {
    background: rgba(255, 255, 255, 0.03);
}

.agentic-docs-wrapper--dark .agentic-docs-article__content tr:nth-child(even) td {
    background: rgba(255, 255, 255, 0.03);
}

/* Override WP striped-table light-gray background so white text stays readable */
.agentic-docs-wrapper--dark .agentic-docs-article__content .wp-block-table.is-style-stripes tbody tr:nth-child(odd) {
    background-color: rgba(255, 255, 255, 0.06);
}

.agentic-docs-wrapper--dark .agentic-docs-article__content .wp-block-table.is-style-stripes {
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

.agentic-docs-wrapper--dark .agentic-docs-article__content hr,
.agentic-docs-wrapper--dark .agentic-docs-article__content .wp-block-separator {
    background: linear-gradient(to right, rgba(167, 139, 250, 0.4), rgba(167, 139, 250, 0.08) 55%, transparent);
    border: none;
}

.agentic-docs-wrapper--dark .agentic-docs-article__content figure.wp-block-table {
    border-color: rgba(255, 255, 255, 0.1);
}

.agentic-docs-wrapper--dark .agentic-docs-article__content tbody tr:hover > td {
    background: rgba(167, 139, 250, 0.06) !important;
}

.agentic-docs-wrapper--dark .agentic-docs-article__nav-link {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
}

.agentic-docs-wrapper--dark .agentic-docs-article__nav-link:hover {
    background: rgba(167, 139, 250, 0.1);
    border-color: #a78bfa;
    color: #a78bfa;
}

.agentic-docs-wrapper--dark .agentic-docs-article__nav-title {
    color: #ffffff;
}

.agentic-docs-wrapper--dark .agentic-docs-footer {
    border-top-color: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

.agentic-docs-wrapper--dark .agentic-docs-footer__btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.8);
}

.agentic-docs-wrapper--dark .agentic-docs-footer__btn:hover {
    background: rgba(167, 139, 250, 0.2);
    border-color: #a78bfa;
    color: #a78bfa;
}

.agentic-docs-wrapper--dark .agentic-docs-footer__next {
    color: #a78bfa;
}

.agentic-docs-wrapper--dark .agentic-docs-comments {
    border-top-color: rgba(255, 255, 255, 0.1);
}

.agentic-docs-wrapper--dark .agentic-docs-comments h2 {
    color: #ffffff;
}

.agentic-docs-wrapper--dark .agentic-docs-comments__intro {
    color: rgba(255, 255, 255, 0.6);
}

/* Active sidebar link */
.agentic-sidebar__link--active {
    color: #667eea !important;
    font-weight: 600;
    background: rgba(102, 126, 234, 0.1);
}

/* Article styles */
.agentic-docs-article {
    max-width: 100%;
}

.agentic-docs-article__header {
    max-width: 860px;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e5e7eb;
}

.agentic-docs-article__header h1 {
    font-size: 2.25rem;
    font-weight: 800;
    color: #1f2937;
    margin: 0 0 0.5rem;
    line-height: 1.15;
    letter-spacing: -0.03em;
}

.agentic-docs-article__breadcrumb {
    font-size: 0.875rem;
    color: #6b7280;
    margin: 0;
}

.agentic-docs-article__breadcrumb a {
    color: #667eea;
    text-decoration: none;
}

.agentic-docs-article__breadcrumb a:hover {
    text-decoration: underline;
}

/* Article content typography */
.agentic-docs-article__content {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: #374151;
    max-width: 860px;
}

.agentic-docs-article__content h2 {
    font-size: 1.4375rem;
    font-weight: 700;
    color: #1f2937;
    margin: 2.75rem 0 0.875rem;
    letter-spacing: -0.02em;
}

.agentic-docs-article__content h2:first-child {
    margin-top: 0;
}

.agentic-docs-article__content h3 {
    font-size: 1.0625rem;
    font-weight: 600;
    color: #374151;
    margin: 1.875rem 0 0.625rem;
    padding-left: 0.875rem;
    border-left: 3px solid #667eea;
}

.agentic-docs-article__content p {
    margin: 0 0 1.25rem;
}

.agentic-docs-article__content p.lead {
    font-size: 1.175rem;
    line-height: 1.7;
    color: #4b5563;
    margin-bottom: 2rem;
    font-weight: 400;
}

.agentic-docs-article__content ul,
.agentic-docs-article__content ol {
    margin: 0 0 1.5rem;
    padding-left: 1.5rem;
}

.agentic-docs-article__content li {
    margin-bottom: 0.5rem;
}

.agentic-docs-article__content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    font-size: 0.9rem;
}

.agentic-docs-article__content th,
.agentic-docs-article__content td {
    padding: 0.75rem 1rem;
    text-align: left;
    border: 1px solid #e5e7eb;
}

.agentic-docs-article__content th {
    background: #f9fafb;
    font-weight: 600;
    color: #374151;
}

.agentic-docs-article__content tr:nth-child(even) {
    background: #f9fafb;
}

.agentic-docs-article__content pre {
    background: #1f2937;
    color: #e5e7eb;
    padding: 1rem 1.25rem;
    border-radius: 8px;
    overflow-x: auto;
    margin: 1.5rem 0;
    font-size: 0.875rem;
    line-height: 1.6;
}

.agentic-docs-article__content code {
    font-family: "SF Mono", "Monaco", "Menlo", "Consolas", monospace;
}

.agentic-docs-article__content p code,
.agentic-docs-article__content li code,
.agentic-docs-article__content td code {
    background: rgba(102, 126, 234, 0.08);
    color: #5b21b6;
    border: 1px solid rgba(102, 126, 234, 0.2);
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
    font-size: 0.875em;
}

.agentic-docs-article__content blockquote {
    border-left: 4px solid #667eea;
    padding: 1rem 1.25rem 1rem 1.5rem;
    margin: 2rem 0;
    background: rgba(102, 126, 234, 0.05);
    border-radius: 0 10px 10px 0;
    color: #374151;
}

.agentic-docs-article__content blockquote strong {
    color: #1f2937;
}

/* h4 headings — small caps label style */
.agentic-docs-article__content h4 {
    font-size: 0.8125rem;
    font-weight: 700;
    color: #6b7280;
    margin: 1.75rem 0 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* Separator — gradient fade */
.agentic-docs-article__content hr,
.agentic-docs-article__content .wp-block-separator {
    border: none;
    height: 1px;
    background: linear-gradient(to right, rgba(102, 126, 234, 0.35), rgba(102, 126, 234, 0.08) 55%, transparent);
    margin: 2.5rem 0;
}

/* Table figure — overflow scroll on small screens */
.agentic-docs-article__content figure.wp-block-table {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 1.75rem 0;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}

.agentic-docs-article__content figure.wp-block-table table {
    margin: 0;
}

/* Table row hover */
.agentic-docs-article__content tbody tr:hover > td {
    background: rgba(102, 126, 234, 0.04) !important;
    transition: background 0.15s;
}

/* Code block (wp:code) */
.agentic-docs-article__content .wp-block-code {
    margin: 1.75rem 0;
}

.agentic-docs-article__content .wp-block-code pre {
    background: #0f172a;
    color: #e2e8f0;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 10px;
    padding: 1.25rem 1.5rem;
    overflow-x: auto;
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.65;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

/* Navigation between pages */
.agentic-docs-article__nav {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #e5e7eb;
}

.agentic-docs-article__nav-link {
    display: flex;
    flex-direction: column;
    padding: 1rem 1.25rem;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s;
    max-width: 48%;
}

.agentic-docs-article__nav-link:hover {
    background: #f3f4f6;
    border-color: #667eea;
}

.agentic-docs-article__nav-link--next {
    text-align: right;
    margin-left: auto;
}

.agentic-docs-article__nav-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #6b7280;
    margin-bottom: 0.25rem;
}

.agentic-docs-article__nav-title {
    font-weight: 600;
    color: #1f2937;
}

/* Comments section */
.agentic-docs-comments {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid #e5e7eb;
}

.agentic-docs-comments h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1f2937;
    margin: 0 0 0.5rem;
}

.agentic-docs-comments__intro {
    color: #6b7280;
    margin-bottom: 2rem;
}

/* WordPress default comment styles */
.comment-list {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
}

.comment {
    padding: 1.5rem;
    background: #f9fafb;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.comment .comment-author {
    font-weight: 600;
    color: #1f2937;
}

.comment .comment-meta {
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 0.75rem;
}

.comment-content p {
    margin: 0;
    color: #374151;
}

.comment-reply-link {
    font-size: 0.875rem;
    color: #667eea;
    text-decoration: none;
}

.comment-reply-link:hover {
    text-decoration: underline;
}

.comment-respond {
    background: #f9fafb;
    padding: 1.5rem;
    border-radius: 8px;
}

.comment-respond .comment-reply-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1f2937;
    margin: 0 0 1rem;
}

.comment-respond label {
    display: block;
    font-weight: 500;
    color: #374151;
    margin-bottom: 0.25rem;
}

.comment-respond input[type="text"],
.comment-respond input[type="email"],
.comment-respond input[type="url"],
.comment-respond textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.comment-respond input:focus,
.comment-respond textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.comment-respond .submit {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    border: none;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.comment-respond .submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

/* Standard page styles */
.agentic-page-content {
    max-width: 960px;
    margin: 0 auto;
    padding: calc(70px + 3rem) 2rem 3rem;
}

.admin-bar .agentic-page-content {
    padding-top: calc(70px + 32px + 3rem);
}

.agentic-page-content .entry-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 2rem;
}

.agentic-page-content .entry-content {
    font-size: 1rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.85);
}

.agentic-page-content .entry-content h2,
.agentic-page-content .entry-content h3,
.agentic-page-content .entry-content h4,
.agentic-page-content .entry-content h5,
.agentic-page-content .entry-content h6 {
    color: #fff;
    margin: 2rem 0 0.75rem;
}

.agentic-page-content .entry-content h2 {
    font-size: 1.6rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.agentic-page-content .entry-content h3 {
    font-size: 1.3rem;
}

.agentic-page-content .entry-content a {
    color: #a855f7;
    text-decoration: underline;
    text-decoration-color: rgba(168, 85, 247, 0.4);
    text-underline-offset: 2px;
}

.agentic-page-content .entry-content a:hover {
    color: #c084fc;
    text-decoration-color: #c084fc;
}

.agentic-page-content .entry-content strong {
    color: #fff;
    font-weight: 600;
}

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

.agentic-page-content .entry-content li {
    margin-bottom: 0.4rem;
}

.agentic-page-content .entry-content li::marker {
    color: rgba(255, 255, 255, 0.4);
}

.agentic-page-content .entry-content code {
    background: rgba(255, 255, 255, 0.08);
    color: #c084fc;
    padding: 0.15em 0.4em;
    border-radius: 4px;
    font-size: 0.9em;
}

.agentic-page-content .entry-content pre {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 1.25rem;
    overflow-x: auto;
    margin: 1.5rem 0;
}

.agentic-page-content .entry-content pre code {
    background: none;
    padding: 0;
    color: rgba(255, 255, 255, 0.85);
}

.agentic-page-content .entry-content blockquote {
    border-left: 3px solid #a855f7;
    padding: 0.75rem 1.25rem;
    margin: 1.5rem 0;
    background: rgba(168, 85, 247, 0.06);
    border-radius: 0 8px 8px 0;
    color: rgba(255, 255, 255, 0.75);
}

.agentic-page-content .entry-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
}

.agentic-page-content .entry-content th {
    text-align: left;
    color: #fff;
    font-weight: 600;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.agentic-page-content .entry-content td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.agentic-page-content .entry-content tr:hover td {
    background: rgba(255, 255, 255, 0.03);
}

.agentic-page-content .entry-content hr {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin: 2rem 0;
}

.agentic-page-content .entry-content img {
    border-radius: 8px;
    max-width: 100%;
    height: auto;
}

/* Responsive for proposal pages */
@media (max-width: 768px) {
    .agentic-docs-wrapper--page {
        padding-top: 60px;
    }
    
    .admin-bar .agentic-docs-wrapper--page {
        padding-top: calc(60px + 46px);
    }
    
    .agentic-docs-article__header h1 {
        font-size: 1.75rem;
    }
    
    .agentic-docs-article__nav {
        flex-direction: column;
    }
    
    .agentic-docs-article__nav-link {
        max-width: 100%;
    }
    
    .agentic-docs-article__nav-link--next {
        text-align: left;
    }
    
    .agentic-page-content {
        padding: calc(60px + 2rem) 1.5rem 2rem;
    }
    
    .admin-bar .agentic-page-content {
        padding-top: calc(60px + 46px + 2rem);
    }
}

/* ==========================================================================
   Discussions / Blog Styles
   ========================================================================== */

.agentic-discussions {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.agentic-discussion-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 1.5rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.agentic-discussion-card:hover {
    border-color: #667eea;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.1);
}

.agentic-discussion-card__meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.agentic-discussion-card__category {
    display: inline-block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.25rem 0.625rem;
    border-radius: 4px;
    text-decoration: none;
}

.agentic-discussion-card__category:hover {
    opacity: 0.9;
}

.agentic-discussion-card__date {
    font-size: 0.875rem;
    color: #6b7280;
}

.agentic-discussion-card__title {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0 0 0.5rem;
    line-height: 1.3;
}

.agentic-discussion-card__title a {
    color: #1f2937;
    text-decoration: none;
}

.agentic-discussion-card__title a:hover {
    color: #667eea;
}

.agentic-discussion-card__excerpt {
    color: #4b5563;
    font-size: 0.9375rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.agentic-discussion-card__excerpt p {
    margin: 0;
}

.agentic-discussion-card__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid #f3f4f6;
}

.agentic-discussion-card__author {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #374151;
}

.agentic-discussion-card__author img {
    border-radius: 50%;
}

.agentic-discussion-card__comments {
    font-size: 0.875rem;
    color: #6b7280;
    text-decoration: none;
}

.agentic-discussion-card__comments:hover {
    color: #667eea;
}

.agentic-pagination {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e5e7eb;
}

.agentic-pagination .nav-links {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.agentic-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.5rem;
    height: 2.5rem;
    padding: 0 0.75rem;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    color: #374151;
    text-decoration: none;
    font-size: 0.875rem;
    transition: all 0.2s;
}

.agentic-pagination .page-numbers:hover {
    background: #f3f4f6;
    border-color: #667eea;
}

.agentic-pagination .page-numbers.current {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: transparent;
    color: #ffffff;
}

.agentic-no-posts {
    text-align: center;
    padding: 3rem;
    background: #f9fafb;
    border-radius: 12px;
    color: #6b7280;
}

/* Single post styles */
.single .agentic-docs-article__content {
    font-size: 1.0625rem;
}

.agentic-post-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e5e7eb;
}

.agentic-post-meta__author {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9375rem;
    color: #374151;
}

.agentic-post-meta__author img {
    border-radius: 50%;
}

.agentic-post-meta__date {
    font-size: 0.875rem;
    color: #6b7280;
}

@media (max-width: 768px) {
    .agentic-discussion-card {
        padding: 1.25rem;
    }
    
    .agentic-discussion-card__title {
        font-size: 1.125rem;
    }
    
    .agentic-discussion-card__footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    
    .agentic-post-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}

/* ==========================================================================
   FAQ Accordion
   ========================================================================== */

.agentic-faq {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.agentic-faq__item {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
    transition: border-color 0.2s ease;
}

.agentic-faq__item:hover {
    border-color: #0073aa;
}

.agentic-faq__item[open] {
    border-color: #0073aa;
}

.agentic-faq__question {
    padding: 1rem 1.25rem;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #1e1e1e;
    transition: background 0.2s ease;
}

.agentic-faq__question::-webkit-details-marker {
    display: none;
}

.agentic-faq__question::after {
    content: "+";
    font-size: 1.25rem;
    font-weight: 400;
    color: #6b7280;
    transition: transform 0.2s ease;
}

.agentic-faq__item[open] .agentic-faq__question::after {
    content: "−";
}

.agentic-faq__question:hover {
    background: #f9fafb;
}

.agentic-faq__answer {
    padding: 0 1.25rem 1.25rem;
    font-size: 0.9375rem;
    line-height: 1.6;
    color: #374151;
}

.agentic-faq__answer a {
    color: #0073aa;
    text-decoration: none;
}

.agentic-faq__answer a:hover {
    text-decoration: underline;
}

@media (prefers-color-scheme: dark) {
    .agentic-faq__item {
        background: var(--agentic-surface);
        border-color: var(--agentic-border-color);
    }
    
    .agentic-faq__question {
        color: var(--agentic-text-primary);
    }
    
    .agentic-faq__question:hover {
        background: var(--agentic-surface-elevated);
    }
    
    .agentic-faq__answer {
        color: var(--agentic-text-secondary);
    }
}

/* Agent cards on /agents/ page - 3 per row with smaller fonts */
.agent-cards {
    grid-template-columns: repeat(3, 1fr) !important;
}

.agent-card {
    padding: 16px !important;
}

.agent-card h3 {
    font-size: 1rem !important;
    margin-bottom: 0.5rem !important;
}

.agent-card p {
    font-size: 0.8rem !important;
    margin-bottom: 0.5rem !important;
    line-height: 1.4 !important;
}

.agent-card ul {
    font-size: 0.75rem !important;
    margin: 0.5rem 0 !important;
    padding-left: 1.25rem !important;
}

.agent-card li {
    margin-bottom: 0.25rem !important;
}

@media (max-width: 900px) {
    .agent-cards {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 600px) {
    .agent-cards {
        grid-template-columns: 1fr !important;
    }
}

/* Dark theme overrides for agent cards on /agents/ page */
@media (prefers-color-scheme: dark) {
    .agent-card {
        background: var(--agentic-surface) !important;
        border-color: var(--agentic-border-color) !important;
    }
    
    .agent-card h3,
    .agent-card p,
    .agent-card li,
    .agent-card strong {
        color: var(--agentic-text-primary) !important;
    }
    
    .agent-card ul {
        color: var(--agentic-text-secondary);
    }
}

/* ── Press Release Template ── */
.agentic-docs-content--full-width {
    max-width: 960px;
    margin: 0 auto;
    padding: 2rem 2rem 3rem;
}

.agentic-press-release__featured-image {
    margin: 1.5rem 0 2rem;
    border-radius: 8px;
    overflow: hidden;
}

.agentic-press-release__image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

@media (max-width: 768px) {
    .agentic-docs-content--full-width {
        padding: 1rem 1rem 2rem;
    }
}
