/* AxisMachina — Industrial Tools Affiliate Theme
   Premium affiliate review site design */

/* === Root Variables === */
:root {
    --axm-charcoal: #1a1a2e;
    --axm-steel: #16213e;
    --axm-red: #c1121f;
    --axm-red-dark: #a30f1a;
    --axm-blue: #2563eb;
    --axm-blue-dark: #1d4ed8;
    --axm-gray-light: #f7f7f5;
    --axm-gray: #e0e0e0;
    --axm-text: #1a1a1a;
    --axm-text-muted: #4a4a4a;
    --axm-shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
    --axm-shadow: 0 4px 12px rgba(0,0,0,0.08);
    --axm-shadow-lg: 0 10px 28px rgba(0,0,0,0.12);
    --axm-radius: 8px;
    /* Spacing scale */
    --space-4: 4px;
    --space-8: 8px;
    --space-12: 12px;
    --space-16: 16px;
    --space-20: 20px;
    --space-24: 24px;
    --space-32: 32px;
}

/* === Typography — Inter for headings === */
body {
    color: var(--axm-text);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6,
.site-title,
.entry-title,
.axm-hero h1 {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

a {
    color: var(--axm-red);
    transition: color 0.15s;
}
a:hover {
    color: var(--axm-red-dark);
}

/* === Header === */
.site-header {
    background: var(--axm-charcoal) !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.site-header .site-title a,
.site-header .main-title a {
    color: #fff !important;
    font-weight: 700;
    letter-spacing: -0.02em;
}
.site-header .site-description {
    color: rgba(255,255,255,0.6) !important;
}
.main-navigation,
#site-navigation,
#mobile-menu-control-wrapper {
    background: transparent !important;
}
.main-navigation a,
.main-navigation .menu-toggle {
    color: rgba(255,255,255,0.85) !important;
    font-family: 'Inter', system-ui, sans-serif;
    font-weight: 500;
    font-size: 0.9em;
    letter-spacing: 0.01em;
    transition: color 0.15s;
}
.main-navigation a:hover {
    color: #fff !important;
}
.main-navigation .current-menu-item > a {
    color: #fff !important;
    position: relative;
}

/* === Breadcrumbs === */
.axm-breadcrumb {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 0.82em;
    color: var(--axm-text-muted);
    margin-bottom: 16px;
    font-weight: 500;
}
.axm-breadcrumb a,
.axm-breadcrumb a:visited {
    color: var(--axm-text-muted) !important;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.axm-breadcrumb a:hover {
    color: var(--axm-red);
}

/* === Post Meta / Byline === */
.entry-meta .byline a,
.entry-meta .posted-on a {
    color: var(--axm-text-muted);
    text-decoration: underline;
    text-underline-offset: 2px;
}
.entry-meta .byline a:hover,
.entry-meta .posted-on a:hover {
    color: var(--axm-red);
}

/* === Archive / Category Grid === */
.site-main article.type-post {
    background: #fff;
    border: none;
    border-radius: var(--axm-radius);
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: var(--axm-shadow-sm);
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.site-main article.type-post:hover {
    box-shadow: var(--axm-shadow);
    transform: translateY(-2px);
}
.site-main article.type-post .entry-title a {
    color: var(--axm-charcoal);
    text-decoration: none;
    font-weight: 700;
}
.site-main article.type-post .entry-title a:hover {
    color: var(--axm-red);
}

.site-main .read-more,
.read-more {
    display: inline-block;
    background: var(--axm-blue);
    color: #fff;
    padding: 8px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.03em;
    transition: background 0.2s, transform 0.2s;
}
.read-more:hover {
    background: var(--axm-blue-dark);
    color: #fff;
    transform: translateY(-1px);
}

/* === Category Badges === */
.site-main .cat-links a,
.cat-links a {
    background: var(--axm-steel);
    color: #fff;
    padding: 3px 10px;
    border-radius: 4px;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 0.7em;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    text-decoration: none;
}

/* === Footer === */
.site-footer {
    background: var(--axm-charcoal) !important;
    color: rgba(255,255,255,0.6) !important;
    border-top: 3px solid var(--axm-red);
}
.site-footer a {
    color: rgba(255,255,255,0.85) !important;
}
.site-footer a:hover {
    color: #fff !important;
}
.site-info {
    background: transparent !important;
    text-align: center;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 0.85em;
}

/* === Homepage Full Width === */
.home .site-content {
    display: block !important;
    max-width: 100% !important;
}
.home .site-content > * {
    max-width: 100%;
}

/* ================================================================
   HOMEPAGE SECTIONS
   ================================================================ */

/* === Hero === */
.axm-hero {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #1a2744 100%);
    color: #fff;
    text-align: center;
    padding: 64px 24px 56px;
    margin-bottom: 48px;
    position: relative;
}
.axm-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--axm-blue), var(--axm-red), var(--axm-blue));
}
.axm-hero h1 {
    font-size: 2.8em;
    margin: 0 0 16px;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
}
.axm-hero p {
    font-family: Georgia, serif;
    font-size: 1.15em;
    color: rgba(255,255,255,0.7);
    margin: 0 auto 32px;
    max-width: 560px;
    line-height: 1.6;
}
.axm-hero .axm-cta {
    display: inline-block;
    background: var(--axm-blue);
    color: #fff;
    padding: 14px 36px;
    border-radius: 6px;
    font-family: 'Inter', system-ui, sans-serif;
    font-weight: 700;
    font-size: 1em;
    text-decoration: none;
    letter-spacing: 0.02em;
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 14px rgba(37,99,235,0.3);
}
.axm-hero .axm-cta:hover {
    background: var(--axm-blue-dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37,99,235,0.4);
}

/* === Section Headings === */
.axm-section {
    max-width: 1100px;
    margin: 0 auto 56px;
    padding: 0 24px;
}
.axm-section h2 {
    font-size: 1.5em;
    margin-bottom: 28px;
    color: var(--axm-charcoal);
    font-weight: 700;
    letter-spacing: -0.02em;
    border-bottom: none;
    padding-bottom: 0;
    display: flex;
    align-items: center;
    gap: 12px;
}
.axm-section h2::after {
    content: '';
    flex: 1;
    height: 2px;
    background: linear-gradient(90deg, var(--axm-gray), transparent);
}

/* === Review Cards Grid === */
.axm-reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.axm-review-card {
    background: #fff;
    border: none;
    border-radius: var(--axm-radius);
    overflow: hidden;
    box-shadow: var(--axm-shadow-sm);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.axm-review-card:hover {
    box-shadow: var(--axm-shadow-lg);
    transform: translateY(-4px);
}
.axm-review-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: contain;
    background: #f5f5f5;
}
.axm-review-card .axm-card-body {
    padding: 18px 20px;
}
.axm-review-card .axm-card-category {
    background: var(--axm-steel);
    color: #fff;
    padding: 3px 10px;
    border-radius: 4px;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 0.72em;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    display: inline-block;
    margin-bottom: 10px;
}
.axm-review-card h3 {
    font-size: 0.95em;
    margin: 0 0 8px;
    line-height: 1.35;
    font-weight: 600;
}
.axm-review-card a,
.axm-review-card a:hover,
.axm-review-card a:active,
.axm-review-card a:visited,
.axm-review-card a:focus {
    text-decoration: none !important;
}
.axm-review-card > a {
    display: block;
}
.axm-review-card h3 a {
    color: var(--axm-charcoal);
    text-decoration: none;
}
.axm-review-card h3 a:hover {
    color: var(--axm-red);
}
.axm-review-card .axm-card-date {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 0.75em;
    color: var(--axm-text-muted);
    font-weight: 500;
}

/* === Placeholder Cards (no featured image) === */
.axm-card-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 180px;
    background:
        linear-gradient(135deg, var(--axm-charcoal), var(--axm-steel)),
        repeating-linear-gradient(45deg, transparent, transparent 8px, rgba(255,255,255,0.03) 8px, rgba(255,255,255,0.03) 16px);
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    font-family: 'Inter', system-ui, sans-serif;
    font-weight: 700;
    font-size: 0.95em;
    text-align: center;
    padding: 20px;
    letter-spacing: -0.01em;
}
.axm-card-placeholder:hover {
    color: #fff;
}

/* === Categories Grid === */
.axm-categories-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}
.axm-cat-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 20px;
    background: #fff;
    border: none;
    border-radius: var(--axm-radius);
    box-shadow: var(--axm-shadow-sm);
    text-decoration: none;
    color: var(--axm-text);
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.axm-cat-card:hover {
    box-shadow: var(--axm-shadow);
    transform: translateY(-2px);
    color: var(--axm-text);
}
.axm-cat-card .axm-cat-count {
    background: linear-gradient(135deg, var(--axm-red), var(--axm-red-dark));
    color: #fff;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Inter', system-ui, sans-serif;
    font-weight: 800;
    font-size: 1em;
    flex-shrink: 0;
}
.axm-cat-card .axm-cat-name {
    font-family: 'Inter', system-ui, sans-serif;
    font-weight: 600;
    font-size: 0.95em;
}

/* === Trust Section === */
.axm-trust {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    text-align: center;
    padding: 48px 0;
    border-top: 2px solid var(--axm-gray-light);
}
.axm-trust-item {
    padding: 0 12px;
}
.axm-trust-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 14px;
    background: linear-gradient(135deg, var(--axm-charcoal), var(--axm-steel));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.axm-trust-icon svg {
    width: 28px;
    height: 28px;
    fill: none;
    stroke: #fff;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.axm-trust-item h3 {
    font-size: 1em;
    margin: 0 0 6px;
    color: var(--axm-charcoal);
    font-weight: 700;
}
.axm-trust-item p {
    font-size: 0.85em;
    color: var(--axm-text-muted);
    margin: 0;
    line-height: 1.5;
}

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 768px) {
    .axm-reviews-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .axm-categories-grid {
        grid-template-columns: 1fr;
    }
    .axm-trust {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .axm-hero h1 {
        font-size: 2em;
    }
    .axm-hero {
        padding: 56px 20px 48px;
    }
    .axm-hero .axm-cta {
        padding: 12px 28px;
    }
    .axm-section {
        margin-bottom: 40px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .axm-reviews-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .axm-categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ================================================================
   SIDEBAR WIDGETS
   ================================================================ */
.sidebar .widget {
    background: #fff;
    border-radius: var(--axm-radius);
    box-shadow: var(--axm-shadow-sm);
    padding: 20px 24px;
    margin-bottom: 24px;
}
.sidebar .widget .widget-title,
.sidebar .widget .wp-block-heading {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 0.95em;
    font-weight: 700;
    color: var(--axm-charcoal);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin: 0 0 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--axm-gray-light);
}
.sidebar .widget ul,
.sidebar .widget .wp-block-latest-posts {
    list-style: none;
    margin: 0;
    padding: 0;
}
.sidebar .widget ul li,
.sidebar .widget .wp-block-latest-posts li {
    padding: 8px 0;
    border-bottom: 1px solid var(--axm-gray-light);
    font-size: 0.9em;
}
.sidebar .widget ul li:last-child,
.sidebar .widget .wp-block-latest-posts li:last-child {
    border-bottom: none;
}
.sidebar .widget ul li a,
.sidebar .widget .wp-block-latest-posts li a {
    color: var(--axm-text);
    text-decoration: none;
    transition: color 0.15s;
}
.sidebar .widget ul li a:hover,
.sidebar .widget .wp-block-latest-posts li a:hover {
    color: var(--axm-red);
}
/* Search widget — block version */
.sidebar .widget_search .wp-block-search__inside-wrapper,
.sidebar .widget_search .search-form {
    display: flex;
    gap: 0;
}
.sidebar .widget_search .wp-block-search__input,
.sidebar .widget_search .search-field {
    flex: 1;
    border: 2px solid var(--axm-gray);
    border-right: none;
    border-radius: 6px 0 0 6px;
    padding: 10px 14px;
    font-size: 0.9em;
    outline: none;
    transition: border-color 0.2s;
}
.sidebar .widget_search .wp-block-search__input:focus,
.sidebar .widget_search .search-field:focus {
    border-color: var(--axm-red);
}
.sidebar .widget_search .wp-block-search__button,
.sidebar .widget_search .search-submit {
    background: var(--axm-blue);
    color: #fff;
    border: none;
    border-radius: 0 6px 6px 0;
    padding: 10px 18px;
    font-family: 'Inter', system-ui, sans-serif;
    font-weight: 700;
    font-size: 0.85em;
    cursor: pointer;
    transition: background 0.2s;
}
.sidebar .widget_search .wp-block-search__button:hover,
.sidebar .widget_search .search-submit:hover {
    background: var(--axm-blue-dark);
}

/* ================================================================
   ARCHIVE / CATEGORY PAGE — CARD GRID
   ================================================================ */
.archive .site-main,
.search-results .site-main {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
.archive .site-main > .page-header,
.search-results .site-main > .page-header {
    grid-column: 1 / -1;
}
.archive .site-main > nav,
.search-results .site-main > nav {
    grid-column: 1 / -1;
}
.archive .site-main article.type-post,
.search-results .site-main article.type-post {
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
}
.archive .site-main article.type-post .post-image,
.archive .site-main article.type-post .entry-header {
    order: -1;
}
.archive .page-header .page-title {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 1.6em;
    font-weight: 800;
    color: var(--axm-charcoal);
    margin-bottom: 8px;
}
.archive .page-header p,
.archive .page-header .archive-description {
    color: var(--axm-text);
    font-size: 1.05em;
    margin-bottom: 28px;
    line-height: 1.65;
    max-width: 680px;
}

@media (max-width: 768px) {
    .archive .site-main,
    .search-results .site-main {
        grid-template-columns: 1fr;
    }
}

/* ================================================================
   NAV MENU — VISIBLE AT DESKTOP
   ================================================================ */
@media (min-width: 769px) {
    .main-navigation .menu-toggle {
        display: none !important;
    }
    .main-navigation .main-nav {
        display: flex !important;
    }
    .main-navigation .main-nav ul {
        display: flex;
        gap: 4px;
        list-style: none;
        margin: 0;
        padding: 0;
    }
    .main-navigation .main-nav li a {
        padding: 10px 14px;
        display: block;
    }
}

/* ----------------------------------------------------------------
   Dropdown submenu (Categories)
   ---------------------------------------------------------------- */
.main-navigation .main-nav ul ul {
    display: flex;
    flex-direction: column;
    gap: 0;
    background: var(--axm-steel);
    border-radius: 6px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.3);
    min-width: 220px;
    padding: 8px 0;
}
.main-navigation .main-nav ul ul li a {
    padding: 8px 20px;
    font-size: 0.85em;
    color: rgba(255,255,255,0.85) !important;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    white-space: nowrap;
}
.main-navigation .main-nav ul ul li:last-child a {
    border-bottom: none;
}
.main-navigation .main-nav ul ul li a:hover {
    background: rgba(255,255,255,0.08);
    color: #fff !important;
}
/* Hide duplicate dropdown arrow — GeneratePress already adds one */
.main-navigation li.menu-item-has-children > a::after {
    content: none !important;
    display: none !important;
}

/* ================================================================
   COMMENT FORM STYLING
   ================================================================ */
.comment-form label {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 0.85em;
    font-weight: 600;
    color: var(--axm-charcoal);
    display: block;
    margin-bottom: 4px;
}
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    border: 2px solid var(--axm-gray);
    border-radius: 6px;
    padding: 10px 14px;
    font-size: 0.95em;
    transition: border-color 0.2s;
    outline: none;
}
.comment-form input[type="text"]:focus,
.comment-form input[type="email"]:focus,
.comment-form input[type="url"]:focus,
.comment-form textarea:focus {
    border-color: var(--axm-red);
}
.comment-form .form-submit .submit {
    background: var(--axm-blue);
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 12px 28px;
    font-family: 'Inter', system-ui, sans-serif;
    font-weight: 700;
    font-size: 0.9em;
    letter-spacing: 0.03em;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
}
.comment-form .form-submit .submit:hover {
    background: var(--axm-blue-dark);
    transform: translateY(-1px);
}
#comments .comment-reply-title {
    font-family: 'Inter', system-ui, sans-serif;
    font-weight: 700;
    font-size: 1.2em;
    color: var(--axm-charcoal);
}

/* ================================================================
   404 PAGE
   ================================================================ */
.axm-404-wrap {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px;
}
.axm-404-hero {
    text-align: center;
    padding: 60px 0 40px;
}
.axm-404-hero h1 {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 6em;
    font-weight: 900;
    color: var(--axm-charcoal);
    margin: 0;
    line-height: 1;
    letter-spacing: -0.04em;
}
.axm-404-subtitle {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 1.4em;
    font-weight: 700;
    color: var(--axm-charcoal);
    margin: 8px 0 16px;
}
.axm-404-desc {
    color: var(--axm-text-muted);
    font-size: 1em;
    max-width: 500px;
    margin: 0 auto 28px;
    line-height: 1.6;
}
.axm-404-search {
    max-width: 400px;
    margin: 0 auto;
}
.axm-404-search .search-form {
    display: flex;
    gap: 0;
}
.axm-404-search .search-field {
    flex: 1;
    border: 2px solid var(--axm-gray);
    border-right: none;
    border-radius: 6px 0 0 6px;
    padding: 12px 16px;
    font-size: 1em;
    outline: none;
}
.axm-404-search .search-field:focus {
    border-color: var(--axm-red);
}
.axm-404-search .search-submit {
    background: var(--axm-blue);
    color: #fff;
    border: none;
    border-radius: 0 6px 6px 0;
    padding: 12px 20px;
    font-family: 'Inter', system-ui, sans-serif;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
}
.axm-404-search .search-submit:hover {
    background: var(--axm-blue-dark);
}
.axm-404-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    padding: 40px 0;
    border-top: 2px solid var(--axm-gray-light);
}
.axm-404-col h3 {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 1em;
    font-weight: 700;
    color: var(--axm-charcoal);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin: 0 0 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--axm-gray-light);
}
.axm-404-cats,
.axm-404-posts {
    list-style: none;
    margin: 0;
    padding: 0;
}
.axm-404-cats li,
.axm-404-posts li {
    padding: 8px 0;
    border-bottom: 1px solid var(--axm-gray-light);
    font-size: 0.95em;
}
.axm-404-cats li:last-child,
.axm-404-posts li:last-child {
    border-bottom: none;
}
.axm-404-cats a,
.axm-404-posts a {
    color: var(--axm-text);
    text-decoration: none;
    transition: color 0.15s;
}
.axm-404-cats a:hover,
.axm-404-posts a:hover {
    color: var(--axm-red);
}
.axm-404-cats span {
    color: var(--axm-text-muted);
    font-size: 0.85em;
}
.axm-404-home {
    text-align: center;
    padding: 32px 0 60px;
}
.axm-404-wrap .axm-404-home .axm-cta {
    display: inline-block;
    background: var(--axm-blue);
    color: #fff;
    padding: 14px 36px;
    border-radius: 6px;
    font-family: 'Inter', system-ui, sans-serif;
    font-weight: 700;
    font-size: 1em;
    text-decoration: none;
    letter-spacing: 0.02em;
    transition: background 0.2s, transform 0.2s;
    box-shadow: 0 4px 14px rgba(37,99,235,0.3);
}
.axm-404-wrap .axm-404-home .axm-cta:hover {
    background: var(--axm-blue-dark);
    transform: translateY(-2px);
}
@media (max-width: 600px) {
    .axm-404-hero h1 {
        font-size: 4em;
    }
    .axm-404-content {
        grid-template-columns: 1fr;
    }
}

/* ================================================================
   SKIP NAVIGATION LINK
   ================================================================ */
.axm-skip-link {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
    z-index: 100000;
    background: var(--axm-charcoal);
    color: #fff;
    padding: 12px 24px;
    border-radius: 0 0 var(--axm-radius) var(--axm-radius);
    font-family: 'Inter', system-ui, sans-serif;
    font-weight: 700;
    font-size: 0.9em;
    text-decoration: none;
}
.axm-skip-link:focus {
    position: fixed;
    top: 0;
    left: 16px;
    width: auto;
    height: auto;
    overflow: visible;
    outline: 2px solid var(--axm-red);
    outline-offset: 2px;
    color: #fff;
}

/* ================================================================
   KEYBOARD FOCUS STATES
   ================================================================ */
.read-more:focus,
.axm-cta:focus,
.axm-hero .axm-cta:focus,
.axm-404-home .axm-cta:focus,
.comment-form .form-submit .submit:focus,
.search-submit:focus,
.axm-cat-card:focus,
button:focus,
input[type="submit"]:focus {
    outline: 2px solid var(--axm-red);
    outline-offset: 2px;
}
a:focus-visible {
    outline: 2px solid var(--axm-red);
    outline-offset: 2px;
}

/* ================================================================
   RELATED REVIEWS & ABOUT (article builder output)
   ================================================================ */
.ae-related-reviews {
    margin: 32px 0;
    padding: 24px;
    background: var(--axm-gray-light);
    border-radius: var(--axm-radius);
}
.ae-related-reviews h2 {
    font-size: 1.1em;
    margin: 0 0 12px;
}
.ae-related-reviews ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.ae-related-reviews li {
    padding: 6px 0;
}
.ae-related-reviews a {
    color: var(--axm-red);
    text-decoration: none;
    font-weight: 500;
}
.ae-related-reviews a:hover {
    text-decoration: underline;
}
.ae-about-review {
    margin: 24px 0;
    padding: 20px 24px;
    background: #fff;
    border-left: 4px solid var(--axm-steel);
    border-radius: 0 var(--axm-radius) var(--axm-radius) 0;
    box-shadow: var(--axm-shadow-sm);
}
.ae-about-review h2 {
    font-size: 1em;
    margin: 0 0 8px;
}
.ae-about-review p {
    font-size: 0.9em;
    color: var(--axm-text-muted);
    margin: 0;
    line-height: 1.6;
}

/* ================================================================
   PREFERS-REDUCED-MOTION
   ================================================================ */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ================================================================
   PRINT STYLES
   ================================================================ */
@media print {
    .site-header,
    .site-footer,
    .main-navigation,
    .axm-hero .axm-cta,
    .axm-404-home,
    .read-more,
    .search-form,
    .axm-skip-link,
    .ae-btn-buy,
    #ae-run-now,
    nav.axm-breadcrumb {
        display: none !important;
    }
    body {
        color: #000;
        background: #fff;
    }
    a {
        color: #000;
        text-decoration: underline;
    }
    .axm-hero {
        background: none;
        color: #000;
        padding: 20px 0;
    }
}
