/* La Maquina Custom Styles */

/* WordPress Block Fixes */
.wp-block-html {
    display: contents !important;
}

.entry-content .wp-block-html,
.wp-site-blocks .wp-block-html {
    display: contents !important;
}

/* Ensure proper font loading */
body,
.editor-styles-wrapper {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* CSS Variables */
:root {
    --lm-bg: #f5f3ef;
    --lm-black: #0d0d0d;
    --lm-white: #ffffff;
    --lm-yellow: #fff000;
    --lm-pink: #ff66b2;
    --lm-blue: #4d94ff;
    --lm-green: #00e676;
    --lm-orange: #ff9100;
    --lm-gray-800: #1a1a1a;
    --lm-gray-600: #444;
    --lm-gray-400: #888;
    --lm-gray-200: #ddd;
    --lm-gray-100: #fafafa;
}

/* Reset */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden !important;
}

body {
    overflow-x: hidden !important;
    width: 100%;
    position: relative;
}

/* Prevent all block groups from overflowing */
.wp-block-group {
    max-width: 100%;
    box-sizing: border-box;
}

/* WordPress site container */
.wp-site-blocks {
    overflow-x: hidden !important;
}

/* Force consistent horizontal padding for all main sections */
.wp-site-blocks > .wp-block-group,
#workflows,
#pricing {
    padding-left: 2rem !important;
    padding-right: 2rem !important;
}

/* Utility Classes */
.lm-mono {
    font-family: 'Space Mono', monospace !important;
}

.lm-uppercase {
    text-transform: uppercase !important;
}

.lm-highlight-yellow {
    background: var(--lm-yellow);
    padding: 0 0.2em;
    display: inline;
}

.lm-highlight-pink {
    background: var(--lm-pink);
    padding: 0 0.2em;
    display: inline;
}

.lm-highlight-blue {
    background: var(--lm-blue);
    color: var(--lm-white);
    padding: 0 0.2em;
    display: inline;
}

.lm-highlight-green {
    background: var(--lm-green);
    padding: 0 0.2em;
    display: inline;
}

/* Navigation fixed positioning */
.lm-nav-fixed {
    position: fixed !important;
    top: 0;
    left: 0 !important;
    right: 0 !important;
    z-index: 100;
    background: var(--lm-bg);
    border-bottom: 3px solid var(--lm-black);
    padding: 1.5rem 2rem !important;
    margin: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

/* Ensure nav children don't overflow */
.lm-nav-fixed > .wp-block-group {
    max-width: 100% !important;
    flex-shrink: 1 !important;
    min-width: 0 !important;
}

/* Navigation logo default size */
.lm-nav-fixed p {
    font-size: 1.25rem;
    margin: 0 !important;
    flex-shrink: 0;
}

/* Navigation button default size */
.lm-nav-fixed .wp-block-buttons {
    display: flex !important;
    flex-shrink: 0 !important;
}

.lm-nav-fixed .wp-block-button {
    display: block !important;
}

.lm-nav-fixed .wp-block-button .wp-block-button__link {
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
    display: inline-block !important;
}

/* Hero Grid Layout */
.lm-hero-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    min-height: 100vh;
    padding-top: 50px !important;
    max-width: 100%;
    box-sizing: border-box;
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
}

.lm-hero-left {
    border-right: 3px solid var(--lm-black);
    padding: 2rem;
    box-sizing: border-box;
}

.lm-hero-right {
    background: var(--lm-black);
    position: relative;
    overflow: visible;
    padding: 4rem;
}

.lm-hero-right::before {
    content: '';
    position: absolute;
    top: -50px;
    left: 0;
    right: -100vw;
    bottom: 0;
    background: var(--lm-black);
    z-index: -1;
}

/* Workflow Node Styles */
.lm-workflow-node {
    background: transparent;
    border: 3px solid var(--lm-white);
    padding: 1rem 1.5rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--lm-white);
    font-family: 'Space Mono', monospace;
    font-size: 0.875rem;
    text-transform: uppercase;
    position: relative;
}

.lm-workflow-node::after {
    content: '↓';
    position: absolute;
    bottom: -1.5rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.25rem;
    color: var(--lm-white);
}

.lm-workflow-node:last-child::after {
    display: none;
}

.lm-workflow-node.highlight-y {
    background: var(--lm-yellow);
    border-color: var(--lm-yellow);
    color: var(--lm-black);
}

.lm-workflow-node.highlight-p {
    background: var(--lm-pink);
    border-color: var(--lm-pink);
    color: var(--lm-black);
}

.lm-workflow-node.highlight-b {
    background: var(--lm-blue);
    border-color: var(--lm-blue);
}

.lm-workflow-node.highlight-g {
    background: var(--lm-green);
    border-color: var(--lm-green);
    color: var(--lm-black);
}

/* Stats Bar Grid */
.lm-stats-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr);
    border-top: 3px solid var(--lm-black);
    border-bottom: 3px solid var(--lm-black);
}

.lm-stat-item {
    padding: 2rem;
    text-align: center;
    border-right: 3px solid var(--lm-black);
}

.lm-stat-item:last-child {
    border-right: none;
}

.lm-stat-item:nth-child(1) { background: var(--lm-yellow); }
.lm-stat-item:nth-child(2) { background: var(--lm-pink); }
.lm-stat-item:nth-child(3) { background: var(--lm-blue); color: var(--lm-white); }
.lm-stat-item:nth-child(4) { background: var(--lm-green); }

.lm-stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    display: block;
    line-height: 1;
}

.lm-stat-label {
    font-family: 'Space Mono', monospace;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 0.5rem;
}

/* Problem Cards Grid */
.lm-problem-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
}

.lm-problem-card {
    padding: 2.5rem;
    border: 3px solid var(--lm-black);
    margin: -1.5px;
}

.lm-problem-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    border: 3px solid var(--lm-black);
}

.lm-problem-card:nth-child(1) .lm-problem-icon { background: var(--lm-yellow); }
.lm-problem-card:nth-child(2) .lm-problem-icon { background: var(--lm-pink); }
.lm-problem-card:nth-child(3) .lm-problem-icon { background: var(--lm-blue); }
.lm-problem-card:nth-child(4) .lm-problem-icon { background: var(--lm-green); }

/* Video Card Grid */
.lm-video-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    margin-top: 4rem;
}

.lm-video-card {
    border: 3px solid var(--lm-gray-600);
    margin: -1.5px;
    background: var(--lm-gray-800);
    transition: all 0.2s ease;
}

.lm-video-card:hover {
    border-color: var(--lm-white);
    z-index: 2;
}

.lm-video-card:nth-child(1) { border-left: 6px solid var(--lm-yellow); }
.lm-video-card:nth-child(2) { border-left: 6px solid var(--lm-pink); }
.lm-video-card:nth-child(3) { border-left: 6px solid var(--lm-blue); }
.lm-video-card:nth-child(4) { border-left: 6px solid var(--lm-green); }
.lm-video-card:nth-child(5) { border-left: 6px solid var(--lm-orange); }
.lm-video-card:nth-child(6) { border-left: 6px solid var(--lm-yellow); }
.lm-video-card:nth-child(7) { border-left: 6px solid var(--lm-pink); }
.lm-video-card:nth-child(8) { border-left: 6px solid var(--lm-blue); }

.lm-video-thumbnail {
    aspect-ratio: 16/9;
    background: var(--lm-black);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    overflow: hidden;
    border-bottom: 3px solid var(--lm-gray-600);
}

.lm-video-level {
    display: inline-block;
    font-family: 'Space Mono', monospace;
    font-size: 0.625rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.25rem 0.5rem;
    border: 2px solid currentColor;
    margin-bottom: 0.75rem;
}

.lm-video-level.beginner { color: var(--lm-green); }
.lm-video-level.intermediate { color: var(--lm-blue); }
.lm-video-level.advanced { color: var(--lm-orange); }
.lm-video-level.expert { color: var(--lm-pink); }

.lm-video-duration {
    position: absolute;
    bottom: 0.75rem;
    right: 0.75rem;
    background: var(--lm-black);
    color: var(--lm-white);
    padding: 0.25rem 0.5rem;
    font-family: 'Space Mono', monospace;
    font-size: 0.75rem;
    font-weight: 700;
    border: 2px solid var(--lm-gray-600);
}

.lm-play-button {
    width: 64px;
    height: 64px;
    background: var(--lm-yellow);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
    border-radius: 4px;
}

.lm-play-button:hover {
    transform: scale(1.1);
}

.lm-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
    pointer-events: none;
}

.lm-video-card:hover .lm-video-overlay {
    opacity: 1;
    pointer-events: all;
}

.lm-video-overlay.hidden {
    opacity: 0 !important;
    pointer-events: none !important;
}

.lm-video-card .video-info p {
    font-size: 1rem;
    color: #bbb;
}

.lm-video-flow-icons {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    opacity: 1;
    color: #bbb;
}

.lm-video-flow-icons svg {
    width: 16px;
    height: 16px;
    stroke: #bbb;
    fill: none;
    stroke-width: 2;
}

.lm-video-flow-icons span {
    font-size: 0.75rem;
    color: #bbb;
}

/* Curriculum Grid */
.lm-curriculum-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    margin-top: 4rem;
}

.lm-curriculum-item {
    padding: 2rem;
    border: 3px solid var(--lm-black);
    margin: -1.5px;
    position: relative;
}

.lm-curriculum-item[data-num]::before {
    content: attr(data-num);
    font-family: 'Space Mono', monospace;
    font-size: 3rem;
    font-weight: 700;
    color: var(--lm-gray-200);
    position: absolute;
    top: 1rem;
    right: 1rem;
}

/* For You Section */
.lm-for-you-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    margin-top: 3rem;
}

.lm-for-you-card {
    padding: 2.5rem;
    border: 3px solid var(--lm-black);
    margin: -1.5px;
    background: var(--lm-white);
}

.lm-for-you-card.yes h3 { color: var(--lm-green) !important; }
.lm-for-you-card.no h3 { color: var(--lm-pink) !important; }

.lm-for-you-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.lm-for-you-card li {
    padding: 0.75rem 0;
    border-bottom: 2px solid var(--lm-gray-200);
    font-size: 0.95rem;
}

.lm-for-you-card li:last-child {
    border-bottom: none;
}

/* Instructor Section */
.lm-instructor-grid {
    display: grid !important;
    grid-template-columns: 300px 1fr;
    gap: 4rem;
    align-items: start;
    margin-top: 3rem;
}

.lm-instructor-photo-frame {
    width: 100%;
    aspect-ratio: 1;
    background: var(--lm-gray-200);
    border: 3px solid var(--lm-black);
    position: relative;
    overflow: hidden;
}

.lm-instructor-photo-frame::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 8px;
    right: -8px;
    bottom: -8px;
    border: 3px solid var(--lm-black);
    z-index: -1;
    background: var(--lm-yellow);
}

.lm-instructor-photo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    background: linear-gradient(135deg, var(--lm-yellow) 0%, var(--lm-pink) 100%);
}

.lm-instructor-photo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.instructor-photo {
    position: relative;
}

.lm-instructor-badge {
    position: absolute;
    bottom: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 70%;
    z-index: 10;
}

.lm-instructor-badge-img {
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.2));
}

.lm-instructor-stats {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid var(--lm-gray-200);
}

.lm-instructor-stat {
    text-align: center;
}

.lm-instructor-stat-number {
    font-family: 'Space Mono', monospace;
    font-size: 1.5rem;
    font-weight: 700;
    display: block;
}

.lm-instructor-stat-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--lm-gray-600);
}

/* Pricing Card */
.lm-pricing-card {
    max-width: 550px;
    margin: 4rem auto 0;
    border: 3px solid var(--lm-black);
    background: var(--lm-white);
}

.lm-pricing-header {
    background: var(--lm-black);
    color: var(--lm-white);
    padding: 1.5rem;
    text-align: center;
}

.lm-pricing-body {
    padding: 3rem;
}

.lm-pricing-price .old {
    font-size: 1.5rem;
    color: var(--lm-gray-400);
    text-decoration: line-through;
    display: block;
}

.lm-pricing-price .new {
    font-size: 4.5rem;
    font-weight: 900;
}

.lm-pricing-price .period {
    font-family: 'Space Mono', monospace;
    font-size: 0.875rem;
    color: var(--lm-gray-600);
    text-transform: uppercase;
}

.lm-pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
    text-align: left;
}

.lm-pricing-features li {
    padding: 1rem 0;
    border-bottom: 2px solid var(--lm-gray-200);
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.95rem;
}

.lm-pricing-features li:last-child {
    border-bottom: none;
}

.lm-check-icon {
    width: 28px;
    height: 28px;
    background: var(--lm-green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.lm-guarantee {
    margin-top: 1.5rem;
    font-family: 'Space Mono', monospace;
    font-size: 0.75rem;
    color: var(--lm-gray-600);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-align: center;
}

/* FAQ Grid */
.lm-faq-grid {
    max-width: 800px;
    margin: 4rem auto 0;
}

.lm-faq-item {
    border-bottom: 2px solid var(--lm-gray-600);
    padding: 2rem 0;
}

.lm-faq-question {
    font-size: 1.125rem;
    font-weight: 700;
    text-transform: uppercase;
}

.lm-faq-answer {
    color: var(--lm-gray-400);
    margin-top: 1rem;
    line-height: 1.7;
}

/* Final CTA */
.lm-final-cta {
    padding: 8rem 4rem;
    text-align: center;
    background: var(--lm-pink);
    border-bottom: 3px solid var(--lm-black);
}

/* Footer */
.lm-footer {
    padding: 3rem 4rem;
    background: var(--lm-black);
    color: var(--lm-white);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.lm-footer-links {
    display: flex;
    gap: 2rem;
}

.lm-footer-links a {
    color: var(--lm-gray-400);
    text-decoration: none;
    font-size: 0.875rem;
    text-transform: uppercase;
    transition: color 0.2s ease;
}

.lm-footer-links a:hover {
    color: var(--lm-white);
}

.lm-footer-copyright {
    font-family: 'Space Mono', monospace;
    font-size: 0.75rem;
    color: var(--lm-gray-400);
}

/* Navigation Icons */
.lm-nav-icons {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.lm-nav-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--lm-black);
    background: transparent;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    color: var(--lm-black);
}

.lm-nav-icon:hover {
    background: var(--lm-black);
    color: var(--lm-white);
}

.lm-nav-icon svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    stroke-width: 1.5;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Preview Flow */
.lm-preview-flow {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: 'Space Mono', monospace;
    font-size: 1.25rem;
}

.lm-preview-flow svg {
    width: 32px;
    height: 32px;
    stroke: var(--lm-gray-400);
    stroke-width: 1.5;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: stroke 0.2s ease;
}

.lm-preview-flow span {
    color: var(--lm-gray-600);
    font-size: 0.875rem;
}

.lm-video-card:hover .lm-preview-flow svg {
    stroke: var(--lm-white);
}

/* Section Label */
.lm-section-label {
    font-family: 'Space Mono', monospace;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--lm-gray-600);
    margin-bottom: 1rem;
    display: block;
}

/* Button Secondary */
.lm-btn-secondary {
    color: var(--lm-black);
    padding: 1.25rem 2rem;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 0.05em;
    border: 3px solid var(--lm-black);
    transition: all 0.2s ease;
    display: inline-block;
}

.lm-btn-secondary:hover {
    background: var(--lm-black);
    color: var(--lm-white);
}

/* Price Display */
.lm-hero-price {
    display: flex;
    align-items: baseline;
    gap: 1rem;
    flex-wrap: wrap;
}

.lm-price-old {
    font-size: 1.5rem;
    color: var(--lm-gray-400);
    text-decoration: line-through;
}

.lm-price-new {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1;
}

.lm-price-label {
    font-family: 'Space Mono', monospace;
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--lm-gray-600);
    letter-spacing: 0.1em;
}

/* Responsive */
@media (max-width: 1024px) {
    .lm-hero-grid {
        grid-template-columns: 1fr;
    }

    .lm-hero-left {
        border-right: none;
        border-bottom: 3px solid var(--lm-black);
        padding: 2.5rem 2rem;
    }

    .lm-hero-right {
        min-height: 400px;
        padding: 2.5rem 2rem;
    }

    .lm-curriculum-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .lm-instructor-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .lm-instructor-badge {
        position: relative;
        bottom: auto;
        left: auto;
        transform: none;
        width: 50%;
        margin: 1rem auto 0;
    }
}

@media (max-width: 768px) {
    /* Navigation responsive fixes */
    .lm-nav-fixed {
        padding: 0.75rem 1rem !important;
    }

    /* Logo size on mobile - bigger */
    .lm-nav-fixed p {
        font-size: 1.1rem !important;
        white-space: nowrap !important;
    }

    /* Nav icons spacing */
    .lm-nav-icons {
        gap: 0.5rem !important;
    }

    .lm-nav-icon {
        width: 38px;
        height: 38px;
        min-width: 38px;
        min-height: 38px;
        flex-shrink: 0;
    }

    .lm-nav-icon svg {
        width: 19px;
        height: 19px;
    }

    /* Make sure button container is visible */
    .lm-nav-fixed .wp-block-buttons {
        display: flex !important;
        flex-shrink: 0 !important;
    }

    /* Get Access button - readable size */
    .lm-nav-fixed .wp-block-button .wp-block-button__link {
        padding: 0.5rem 0.85rem !important;
        font-size: 0.7rem !important;
        white-space: nowrap !important;
    }

    /* Hero section responsive - more top padding */
    .lm-hero-grid {
        padding-top: 100px;
    }

    /* Hero sections padding consistent */
    .lm-hero-left,
    .lm-hero-right {
        padding: 2rem 1rem !important;
    }

    /* Workflow nodes smaller on mobile */
    .lm-workflow-node {
        padding: 0.75rem 1rem;
        font-size: 0.75rem;
    }

    /* Price display on mobile */
    .lm-price-new {
        font-size: 2.5rem !important;
    }

    .lm-price-old {
        font-size: 1.25rem !important;
    }

    /* Stats section padding consistent */
    .lm-stat-item {
        padding: 1.5rem 1rem;
    }

    /* Problem cards padding consistent */
    .lm-problem-card {
        padding: 2rem 1rem;
    }

    /* Video grid padding */
    .lm-video-grid {
        margin-top: 2rem;
    }

    /* Curriculum items padding */
    .lm-curriculum-item {
        padding: 1.5rem 1rem;
    }

    /* For you cards padding */
    .lm-for-you-card {
        padding: 2rem 1rem;
    }

    /* Pricing card padding */
    .lm-pricing-body {
        padding: 2rem 1rem;
    }

    /* Final CTA padding */
    .lm-final-cta {
        padding: 4rem 1rem;
    }

    /* Footer padding */
    .lm-footer {
        padding: 2rem 1rem;
    }

    .lm-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .lm-stat-item:nth-child(2) {
        border-right: none;
    }

    .lm-problem-grid,
    .lm-for-you-grid,
    .lm-video-grid {
        grid-template-columns: 1fr;
    }

    .lm-curriculum-grid {
        grid-template-columns: 1fr;
    }

    .lm-footer {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    /* Extra small screens - optimize navigation */
    .lm-nav-fixed {
        padding: 0.75rem 0.75rem !important;
        justify-content: space-between !important;
    }

    /* Logo on very small screens - bigger and equal spacing */
    .lm-nav-fixed p {
        font-size: 1.15rem !important;
        white-space: nowrap !important;
        margin: 0 !important;
    }

    /* First group with logo - equal padding */
    .lm-nav-fixed > .wp-block-group:first-child {
        padding-left: 0 !important;
    }

    /* Second group with icons - equal padding */
    .lm-nav-fixed > .wp-block-group:last-child {
        padding-right: 0 !important;
    }

    .lm-nav-icons {
        gap: 0.5rem !important;
    }

    .lm-nav-icon {
        width: 38px;
        height: 38px;
        min-width: 38px;
        min-height: 38px;
        flex-shrink: 0;
    }

    .lm-nav-icon svg {
        width: 19px;
        height: 19px;
    }

    /* Get Access button - hide on very small screens */
    .lm-nav-fixed .wp-block-buttons {
        display: none !important;
    }

    /* Hero section - MORE top padding to avoid nav overlap */
    .lm-hero-grid {
        padding-top: 140px;
    }

    /* Hero heading smaller on mobile */
    .lm-hero-left h1 {
        font-size: 2rem !important;
        line-height: 1.1 !important;
    }

    /* Hero sections padding consistent */
    .lm-hero-left,
    .lm-hero-right {
        padding: 1.5rem 0.75rem !important;
    }

    /* Workflow nodes even smaller */
    .lm-workflow-node {
        padding: 0.65rem 0.75rem;
        font-size: 0.7rem;
        gap: 0.65rem;
    }

    /* Price display on very small screens */
    .lm-price-new {
        font-size: 2.25rem !important;
    }

    .lm-price-old {
        font-size: 1.1rem !important;
    }

    .lm-price-label {
        font-size: 0.7rem !important;
    }

    /* Stats section padding consistent */
    .lm-stat-item {
        padding: 1.25rem 0.75rem;
    }

    /* Problem cards padding consistent */
    .lm-problem-card {
        padding: 1.5rem 0.75rem;
    }

    /* Curriculum items padding */
    .lm-curriculum-item {
        padding: 1.25rem 0.75rem;
    }

    /* For you cards padding */
    .lm-for-you-card {
        padding: 1.5rem 0.75rem;
    }

    /* Pricing card padding */
    .lm-pricing-body {
        padding: 1.5rem 0.75rem;
    }

    /* Final CTA padding */
    .lm-final-cta {
        padding: 3rem 0.75rem;
    }

    /* Footer padding */
    .lm-footer {
        padding: 1.5rem 0.75rem;
    }
}

/* Blog Styles */
.lm-blog-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.lm-blog-card {
    background: var(--lm-white);
    transition: all 0.2s ease;
    position: relative;
    height: 100%;
}

.lm-blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 8px 8px 0 var(--lm-black);
}

.lm-blog-card .wp-block-post-featured-image {
    margin: 0;
}

.lm-blog-card .wp-block-post-featured-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lm-blog-meta {
    display: block;
    margin-bottom: 0.5rem;
}

.lm-blog-title a {
    text-decoration: none;
    color: var(--lm-black);
    transition: color 0.2s ease;
}

.lm-blog-title a:hover {
    color: var(--lm-gray-600);
}

.lm-blog-read-more a {
    display: inline-block;
    text-decoration: none;
    color: var(--lm-black);
    border-bottom: 2px solid var(--lm-black);
    padding-bottom: 0.25rem;
    transition: all 0.2s ease;
}

.lm-blog-read-more a:hover {
    border-bottom-color: var(--lm-yellow);
    color: var(--lm-black);
}

/* Blog Pagination */
.lm-blog-pagination {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.lm-blog-pagination a,
.lm-blog-pagination .page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0.5rem 1rem;
    background: var(--lm-white);
    border: 3px solid var(--lm-black);
    font-family: 'Space Mono', monospace;
    font-weight: 700;
    font-size: 0.875rem;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--lm-black);
    transition: all 0.2s ease;
}

.lm-blog-pagination a:hover {
    background: var(--lm-black);
    color: var(--lm-white);
}

.lm-blog-pagination .page-numbers.current {
    background: var(--lm-yellow);
    border-color: var(--lm-black);
}

/* Single Post Content Styles */
.lm-single-post-content {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 1.3rem;
    line-height: 1.65;
    font-weight: 400;
    letter-spacing: -0.01em;
    color: #444;
}

.lm-single-post-content h1 {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 4.5rem;
    font-weight: 900;
    text-transform: uppercase;
    margin-top: 2rem;
    margin-bottom: 2rem;
    letter-spacing: -0.03em;
    line-height: 1.1;
    color: var(--lm-black);
}

.lm-single-post-content h2 {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 1.75rem;
    font-weight: 800;
    text-transform: uppercase;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.lm-single-post-content h3 {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.lm-single-post-content p {
    margin-bottom: 1.5rem;
}

.lm-single-post-content a {
    background: var(--lm-yellow) !important;
    color: var(--lm-black) !important;
    text-decoration: none !important;
    padding: 0.25rem 0.5rem !important;
    transition: all 0.2s ease !important;
}

.lm-single-post-content a:hover {
    text-decoration: underline !important;
}

.lm-single-post-content ul,
.lm-single-post-content ol {
    margin-bottom: 2rem;
    padding-left: 2.5rem;
}

.lm-single-post-content li {
    margin-bottom: 0.75rem;
}

.lm-single-post-content strong,
.lm-single-post-content b {
    font-weight: 600;
}

.lm-single-post-content code {
    background: var(--lm-gray-200);
    padding: 0.2rem 0.5rem;
    border-radius: 0;
    font-family: 'Space Mono', monospace;
    font-size: 0.9em;
}

.lm-single-post-content pre {
    background: var(--lm-gray-800);
    color: var(--lm-white);
    padding: 1.5rem;
    border: 3px solid var(--lm-black);
    overflow-x: auto;
    margin-bottom: 2rem;
}

.lm-single-post-content pre code {
    background: transparent;
    padding: 0;
    color: var(--lm-white);
}

.lm-single-post-content blockquote {
    border-left: 6px solid var(--lm-yellow);
    padding-left: 2rem;
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 2rem;
    font-style: italic;
    color: var(--lm-gray-600);
}

.lm-post-footer .wp-block-post-terms a {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--lm-yellow);
    border: 2px solid var(--lm-black);
    font-family: 'Space Mono', monospace;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--lm-black);
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
    transition: all 0.2s ease;
}

.lm-post-footer .wp-block-post-terms a:hover {
    background: var(--lm-black);
    color: var(--lm-white);
}

/* Post Meta (Author & Reading Time) */
.lm-post-meta {
    background: var(--lm-white);
}

.lm-post-meta .wp-block-avatar img {
    border-radius: 0 !important;
}

.lm-reading-time {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Space Mono', monospace;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--lm-gray-600);
}

.lm-reading-time svg {
    stroke: var(--lm-gray-600);
}

/* Share Buttons */
.lm-share-buttons {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.lm-share-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1rem;
    background: var(--lm-white);
    border: 3px solid var(--lm-black);
    font-family: 'Space Mono', monospace;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-decoration: none;
    color: var(--lm-black);
    transition: all 0.2s ease;
    cursor: pointer;
}

.lm-share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 4px 4px 0 var(--lm-black);
}

.lm-share-x:hover {
    background: var(--lm-black);
    color: var(--lm-white);
    border-color: var(--lm-black);
}

.lm-share-x:hover svg {
    fill: var(--lm-white);
}

.lm-share-facebook:hover {
    background: #1877F2;
    color: var(--lm-white);
    border-color: #1877F2;
}

.lm-share-facebook:hover svg {
    fill: var(--lm-white);
}

.lm-share-linkedin:hover {
    background: #0A66C2;
    color: var(--lm-white);
    border-color: #0A66C2;
}

.lm-share-linkedin:hover svg {
    fill: var(--lm-white);
}

.lm-share-email:hover {
    background: var(--lm-yellow);
    border-color: var(--lm-black);
}

.lm-share-email:hover svg {
    stroke: var(--lm-black);
}

/* Featured Post Section */
.featured-post-section .wp-block-post-featured-image {
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

.featured-post-section .wp-block-post-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Featured content box also 1:1 ratio */
.featured-content-column > .wp-block-group {
    aspect-ratio: 1 / 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

/* Post Card Styles for Blog Grid */
.post-card {
    background: var(--lm-white);
    border: 1px solid #e8e8e8;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.2s ease;
    height: 100%;
}

.post-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    border-color: #d0d0d0;
}

.wp-block-query .wp-block-post-template {
    gap: 24px;
}

/* Blog grid container - 1200px wide */
main.alignfull.has-bg-soft-background-color {
    max-width: 1200px !important;
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

main.alignfull .wp-block-query {
    max-width: 100% !important;
    width: 100% !important;
}

main.alignfull .wp-block-post-template.is-layout-grid {
    max-width: 100% !important;
    width: 100% !important;
}

/* Force 1:1 aspect ratio for blog featured images */
.post-card .wp-block-post-featured-image {
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

.post-card .wp-block-post-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Responsive Grid for WordPress Post Template */
@media (max-width: 1200px) {
    .wp-block-post-template.is-layout-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 768px) {
    .wp-block-post-template.is-layout-grid {
        grid-template-columns: 1fr !important;
    }
}

/* Article Content Styling */
.article-content-section .wp-block-post-content {
    font-size: 18px;
    line-height: 1.7;
    color: #1a1a1a;
}

.article-content-section .wp-block-post-content h2 {
    font-family: var(--lm-heading-font, 'Syne', sans-serif);
    font-size: 32px;
    font-weight: 700;
    margin-top: 48px;
    margin-bottom: 24px;
    line-height: 1.2;
}

.article-content-section .wp-block-post-content h3 {
    font-family: var(--lm-heading-font, 'Syne', sans-serif);
    font-size: 24px;
    font-weight: 600;
    margin-top: 36px;
    margin-bottom: 16px;
    line-height: 1.3;
}

.article-content-section .wp-block-post-content p {
    margin-bottom: 24px;
}

.article-content-section .wp-block-post-content ul,
.article-content-section .wp-block-post-content ol {
    margin-bottom: 24px;
    padding-left: 32px;
}

.article-content-section .wp-block-post-content li {
    margin-bottom: 12px;
}

.article-content-section .wp-block-post-content blockquote {
    border-left: 4px solid #8bc34a;
    padding-left: 24px;
    margin: 32px 0;
    font-style: italic;
    color: #4a4a4a;
}

.article-content-section .wp-block-post-content a {
    background: var(--lm-yellow) !important;
    color: var(--lm-black) !important;
    text-decoration: none !important;
    padding: 0.25rem 0.5rem !important;
    transition: all 0.2s ease !important;
}

.article-content-section .wp-block-post-content a:hover {
    text-decoration: underline !important;
}

/* About Section */
.about-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    padding: 64px 48px;
}

.about-image {
    background: #f5f5f5;
    border-radius: 24px;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e8e8e8;
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

.symptom-section .about-image {
    position: relative !important;
    display: block !important;
    padding: 0 !important;
    overflow: hidden !important;
    min-height: 500px !important;
    height: 100% !important;
}

.symptom-section .about-image img {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

/* About Me Box - Blog Posts */
.lm-about-me-box {
    background: var(--lm-white);
    border: 3px solid var(--lm-black);
    margin-top: 4rem;
    margin-bottom: 2rem;
}

.lm-about-me-header {
    background: var(--lm-yellow);
    border-bottom: 3px solid var(--lm-black);
    padding: 1rem 2rem;
}

.lm-about-me-label {
    font-family: 'Space Mono', monospace;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--lm-black);
}

.lm-about-me-content {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 2rem;
    padding: 2rem;
    align-items: start;
}

.lm-about-me-photo {
    position: relative;
}

.lm-about-me-img {
    width: 100%;
    height: auto;
    border: 3px solid var(--lm-black);
    display: block;
}

.lm-about-me-badge {
    position: absolute;
    bottom: -40%;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    max-width: 120px;
    z-index: 10;
}

.lm-about-me-badge-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.lm-about-me-text {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.lm-about-me-name {
    font-size: 1.75rem;
    font-weight: 900;
    text-transform: uppercase;
    margin: 0;
    letter-spacing: -0.02em;
}

.lm-about-me-title {
    font-family: 'Space Mono', monospace;
    font-size: 0.875rem;
    color: #444;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin: 0;
}

.lm-about-me-bio {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #1a1a1a;
    margin: 0.5rem 0;
}

.lm-about-me-link {
    display: inline-block;
    font-family: 'Space Mono', monospace;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--lm-black);
    background: var(--lm-white);
    border: 3px solid var(--lm-black);
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    transition: all 0.2s ease;
    margin-top: 0.5rem;
    width: fit-content;
}

.lm-about-me-link:hover {
    background: var(--lm-black);
    color: var(--lm-yellow);
    border-color: var(--lm-black);
}

/* Responsive About Me Box */
@media (max-width: 768px) {
    .lm-about-me-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .lm-about-me-photo {
        max-width: 200px;
        margin: 0 auto;
    }
}

.symptom-image-fill {
    position: relative !important;
    display: block !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
    height: 100% !important;
    align-self: stretch !important;
}

.symptom-image-fill img {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
}

/* Symptom Section */
.symptom-section {
    display: block !important;
    padding: 64px 48px !important;
    width: 100vw;
    max-width: none !important;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
    box-sizing: border-box;
}

.symptom-content {
    background: #ffffff;
    border: 1px solid #e8e8e8;
    border-radius: 24px;
    padding: 48px;
    width: 100%;
    max-width: 100%;
}

.symptom-content .section-label {
    background: #7e57c2;
    color: #ffffff;
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 16px;
}

.symptom-content h2 {
    font-family: 'Syne', sans-serif;
    font-size: 36px;
    margin-bottom: 16px;
    font-weight: 700;
}

.symptom-content > p {
    font-size: 16px;
    color: #666666;
    margin-bottom: 32px;
    line-height: 1.6;
}

.symptom-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 24px;
}

.symptom-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    background: #fafaf9;
    border-radius: 16px;
    transition: all 0.2s;
}

.symptom-item:hover {
    background: #ede7f6;
    transform: translateX(4px);
}

.symptom-icon {
    font-size: 24px;
}

.symptom-item span:last-child {
    font-size: 14px;
    font-weight: 500;
}

.symptom-link {
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

.symptom-link:hover {
    text-decoration: underline;
}

.symptom-visual {
    background: #ede7f6 !important;
    border-radius: 24px !important;
    overflow: hidden !important;
    display: block !important;
}

.symptom-visual img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    object-fit: contain !important;
    transform: none !important;
    scale: none !important;
}

/* Blog Responsive */
@media (max-width: 1024px) {
    .lm-blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

    .lm-single-post-content {
        font-size: 1.2rem;
        line-height: 1.6;
    }

    .lm-single-post-content h1 {
        font-size: 3rem;
        margin-top: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .lm-single-post-content h2 {
        font-size: 1.5rem;
        margin-top: 2.5rem;
    }

    .lm-single-post-content h3 {
        font-size: 1.2rem;
        margin-top: 2rem;
    }

    .lm-post-meta {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 1.5rem;
    }

    .lm-share-buttons {
        justify-content: flex-start;
    }

    .lm-share-btn {
        font-size: 0.7rem;
        padding: 0.6rem 0.85rem;
    }

    .lm-share-btn span {
        display: none;
    }
}

/* Hamburger Menu Styles */
.lm-hamburger-wrapper {
    position: relative;
}

.lm-hamburger-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.lm-hamburger-icon {
    width: 24px;
    height: 24px;
}

.lm-hamburger-menu {
    position: absolute;
    top: calc(100% + 1rem);
    right: 0;
    background: var(--lm-white);
    border: 3px solid var(--lm-black);
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
    z-index: 1000;
    box-shadow: 4px 4px 0 var(--lm-black);
}

.lm-hamburger-wrapper:hover .lm-hamburger-menu,
.lm-hamburger-menu.lm-menu-active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lm-menu-item {
    display: block;
    padding: 1rem 1.5rem;
    color: var(--lm-black);
    text-decoration: none;
    font-family: var(--font-secondary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.2s ease;
    border-bottom: 3px solid transparent;
}

.lm-menu-item:hover {
    background: var(--lm-yellow);
    border-bottom-color: var(--lm-black);
}

/* Blog Post Metadata Grid */
.lm-post-meta-grid {
    border: 3px solid var(--lm-black);
    margin: 2rem 0;
}

.lm-meta-row-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 2px solid var(--lm-gray-200);
    gap: 1rem;
}

.lm-meta-row-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    border-bottom: 2px solid var(--lm-gray-200);
    background: var(--lm-gray-100);
    gap: 1rem;
}

.lm-meta-row-badges {
    display: flex;
    gap: 1rem;
    padding: 1rem 1.5rem;
}

.lm-meta-row-badges:empty {
    display: none;
}

/* Author Section */
.lm-author-section {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.lm-author-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.lm-author-label {
    font-family: 'Space Mono', monospace;
    font-size: 0.625rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 700;
    color: var(--lm-gray-400);
}

.lm-author-name {
    font-weight: 700;
    font-size: 1rem;
}

/* Category Badge */
.lm-category-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border: 2px solid;
    font-family: 'Space Mono', monospace;
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-left: 0.5rem;
}

/* Time Section */
.lm-time-section {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.5rem;
}

.lm-timestamp {
    font-family: 'Space Mono', monospace;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--lm-gray-600);
}

.lm-reading-time-new {
    font-family: 'Space Mono', monospace;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--lm-gray-600);
}

/* Quick Actions */
.lm-quick-share,
.lm-save-later {
    display: flex;
    gap: 0.75rem;
}

.lm-icon-btn {
    width: 36px;
    height: 36px;
    min-width: 36px;
    min-height: 36px;
    border: 2px solid var(--lm-black);
    background: var(--lm-white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    color: var(--lm-black);
}

.lm-icon-btn:hover {
    background: var(--lm-yellow);
    transform: translateY(-2px);
}

.lm-icon-btn:focus,
.lm-icon-btn:focus-visible {
    outline: 2px solid var(--lm-black);
    outline-offset: 2px;
}

.lm-icon-btn svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.lm-icon-btn.lm-icon-stroke svg {
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
}

/* Conditional Badges */
.lm-badge {
    padding: 0.5rem 1rem;
    border: 2px solid;
    font-family: 'Space Mono', monospace;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.lm-badge-popular {
    border-color: var(--lm-pink);
    color: var(--lm-black);
}

.lm-badge-updated {
    border-color: var(--lm-blue);
    color: var(--lm-black);
}

/* Metadata Grid Responsive */
@media (max-width: 768px) {
    .lm-meta-row-main {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }

    .lm-time-section {
        align-items: flex-start;
    }

    .lm-meta-row-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }

    .lm-quick-share,
    .lm-save-later {
        justify-content: center;
    }

    .lm-meta-row-badges {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .lm-meta-row-main,
    .lm-meta-row-actions {
        padding: 1rem;
    }

    .lm-author-section {
        gap: 0.75rem;
    }

    .lm-category-badge {
        margin-left: 0;
        margin-top: 0.5rem;
        display: block;
        width: fit-content;
    }
}

/* ==========================================================================
   QUIZ WIDGET - Automation Readiness Quiz
   ========================================================================== */

.lm-quiz {
    font-family: var(--wp--preset--font-family--space-mono), 'Space Mono', monospace;
    background: #0a0b0d;
    color: #f4f4f6;
    max-width: 560px;
    margin: 0 auto;
    border-radius: 0;
    border: 3px solid #262a35;
    overflow: hidden;
    position: relative;
}

/* Progress bar */
.lm-quiz-progress {
    height: 3px;
    background: #1a1d24;
    position: relative;
}

.lm-quiz-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #ffe14d, #ff6eb4);
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    width: 0%;
}

/* Content area */
.lm-quiz-body {
    padding: 2.5rem 2rem 2rem;
}

/* Step counter */
.lm-quiz-step {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #7a8194;
    margin-bottom: 1.25rem;
}

/* Question */
.lm-quiz-question {
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.02em;
    margin-bottom: 1.75rem;
}

/* Options */
.lm-quiz-options {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.lm-quiz-opt {
    background: #12141a;
    border: 2px solid #262a35;
    border-radius: 0;
    padding: 1rem 1.25rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.875rem;
    font-size: 0.95rem;
    font-weight: 500;
    color: #c5cad6;
    line-height: 1.4;
    user-select: none;
}

.lm-quiz-opt:hover {
    border-color: #3a3f4d;
    background: #1a1d24;
    color: #f4f4f6;
}

.lm-quiz-opt.selected {
    border-color: #ffe14d;
    background: rgba(255, 225, 77, 0.06);
    color: #f4f4f6;
}

.lm-quiz-opt-icon {
    width: 32px;
    height: 32px;
    border-radius: 0;
    background: #1a1d24;
    border: 2px solid #262a35;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.lm-quiz-opt.selected .lm-quiz-opt-icon {
    background: rgba(255, 225, 77, 0.15);
    border-color: #ffe14d;
}

/* Intro screen */
.lm-quiz-intro {
    text-align: center;
    padding: 3rem 2rem 2.5rem;
}

.lm-quiz-intro-icon {
    font-size: 3rem;
    margin-bottom: 1.25rem;
    display: block;
}

.lm-quiz-intro h2 {
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.02em;
    margin-bottom: 0.75rem;
}

.lm-quiz-intro h2 em {
    font-style: normal;
    background: linear-gradient(90deg, #ffe14d, #ff6eb4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.lm-quiz-intro p {
    color: #a0a7b8;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.lm-quiz-time {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    color: #7a8194;
    margin-bottom: 1.5rem;
}

/* Buttons */
.lm-quiz-btn {
    width: 100%;
    padding: 1rem 1.5rem;
    border-radius: 0;
    font-family: 'Space Mono', monospace;
    font-weight: 700;
    font-size: 0.875rem;
    text-transform: uppercase;
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.2s ease;
    letter-spacing: 0.05em;
}

.lm-quiz-btn-primary {
    background: #ffe14d;
    color: #08090a;
    border-color: #ffe14d;
}

.lm-quiz-btn-primary:hover {
    background: #08090a;
    color: #ffe14d;
    border-color: #ffe14d;
    transform: translateY(-2px);
}

.lm-quiz-btn-primary:disabled {
    opacity: 0.35;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.lm-quiz-btn-ghost {
    background: transparent;
    color: #7a8194;
    font-weight: 500;
    font-size: 0.85rem;
    padding: 0.5rem 1rem;
    margin-top: 0.5rem;
}

.lm-quiz-btn-ghost:hover {
    color: #f4f4f6;
}

/* Navigation */
.lm-quiz-nav {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.75rem;
}

.lm-quiz-nav .lm-quiz-btn {
    flex: 1;
}

.lm-quiz-btn-back {
    background: #1a1d24;
    color: #a0a7b8;
    border: 2px solid #262a35;
    flex: 0 0 auto !important;
    width: 48px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0;
}

.lm-quiz-btn-back:hover {
    background: #262a35;
    color: #f4f4f6;
}

/* Email capture */
.lm-quiz-email {
    text-align: center;
}

.lm-quiz-email h3 {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.lm-quiz-email p {
    color: #a0a7b8;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.lm-quiz-input {
    width: 100%;
    padding: 1rem 1.25rem;
    border-radius: 0;
    border: 2px solid #262a35;
    background: #12141a;
    color: #f4f4f6;
    font-family: 'Space Mono', monospace;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.2s ease;
    margin-bottom: 0.75rem;
}

.lm-quiz-input:focus {
    border-color: #ffe14d;
}

.lm-quiz-input::placeholder {
    color: #3a3f4d;
}

.lm-quiz-privacy {
    font-size: 0.75rem;
    color: #3a3f4d;
    margin-top: 0.75rem;
}

/* Results screen */
.lm-quiz-result {
    text-align: center;
}

.lm-quiz-score-ring {
    width: 130px;
    height: 130px;
    margin: 0 auto 1.5rem;
    position: relative;
}

.lm-quiz-score-ring svg {
    transform: rotate(-90deg);
    width: 130px;
    height: 130px;
}

.lm-quiz-score-ring circle {
    fill: none;
    stroke-width: 6;
}

.lm-quiz-score-ring .ring-bg {
    stroke: #1a1d24;
}

.lm-quiz-score-ring .ring-fill {
    stroke: url(#scoreGrad);
    stroke-linecap: round;
    transition: stroke-dashoffset 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.lm-quiz-score-val {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2.25rem;
    font-weight: 700;
}

.lm-quiz-score-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #7a8194;
    display: block;
    margin-top: 2px;
}

.lm-quiz-result h3 {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.lm-quiz-result p {
    color: #a0a7b8;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
}

.lm-quiz-segment {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 0;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.25rem;
}

.segment-green {
    background: rgba(34, 197, 94, 0.15);
    color: #4ade80;
    border: 2px solid rgba(34, 197, 94, 0.5);
}

.segment-yellow {
    background: rgba(255, 225, 77, 0.12);
    color: #ffe14d;
    border: 2px solid rgba(255, 225, 77, 0.5);
}

.segment-red {
    background: rgba(255, 110, 180, 0.12);
    color: #ff6eb4;
    border: 2px solid rgba(255, 110, 180, 0.5);
}

/* Tips list in results */
.lm-quiz-tips {
    text-align: left;
    margin: 1.25rem 0 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.lm-quiz-tip {
    display: flex;
    align-items: flex-start;
    gap: 0.625rem;
    font-size: 0.85rem;
    color: #c5cad6;
    line-height: 1.45;
    background: #12141a;
    padding: 0.75rem 1rem;
    border-radius: 0;
    border: 2px solid #1a1d24;
}

.lm-quiz-tip-icon {
    flex-shrink: 0;
    margin-top: 1px;
}

/* Screens visibility */
.lm-quiz-screen {
    display: none;
}

.lm-quiz-screen.active {
    display: block;
    animation: quizFadeIn 0.35s ease;
}

@keyframes quizFadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile responsiveness */
@media (max-width: 600px) {
    .lm-quiz {
        border-radius: 0;
        margin: 0;
    }

    .lm-quiz-body {
        padding: 2rem 1.5rem 1.5rem;
    }

    .lm-quiz-intro {
        padding: 2rem 1.5rem;
    }

    .lm-quiz-question {
        font-size: 1.15rem;
    }

    .lm-quiz-intro h2 {
        font-size: 1.35rem;
    }
}

/* Article Header Styles */
.article-header-section h1,
.article-header-section .wp-block-post-title {
    text-transform: uppercase !important;
}

/* Rank Math Table of Contents Styles */
.wp-block-rank-math-toc-block {
    border: 3px solid var(--lm-black) !important;
    padding: 0 !important;
    background: var(--lm-white) !important;
    margin: 2rem 0 !important;
}

.wp-block-rank-math-toc-block h2 {
    font-family: 'Space Mono', monospace !important;
    font-size: 0.875rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.1em !important;
    margin-bottom: 0 !important;
    color: var(--lm-black) !important;
    background: var(--lm-yellow) !important;
    border-bottom: 3px solid var(--lm-black) !important;
    padding: 1rem 1.5rem !important;
}

.wp-block-rank-math-toc-block nav {
    padding: 1.25rem 1.5rem !important;
}

.wp-block-rank-math-toc-block nav ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.wp-block-rank-math-toc-block nav li {
    margin-bottom: 0.375rem !important;
}

/* Nested list indentation */
.wp-block-rank-math-toc-block nav ul ul {
    padding-left: 1.5rem !important;
    margin-top: 0.375rem !important;
}

.wp-block-rank-math-toc-block a,
.wp-block-rank-math-toc-block a:visited {
    background: var(--lm-yellow) !important;
    color: var(--lm-black) !important;
    text-decoration: none !important;
    font-weight: 500 !important;
    font-family: 'Space Mono', monospace !important;
    font-size: 0.875rem !important;
    transition: all 0.2s ease !important;
    display: inline-block !important;
    padding: 0.25rem 0.5rem !important;
}

/* Nested links (H3) smaller */
.wp-block-rank-math-toc-block nav ul ul a {
    font-size: 0.75rem !important;
}

.wp-block-rank-math-toc-block a:hover {
    text-decoration: underline !important;
    background: var(--lm-yellow) !important;
    color: var(--lm-black) !important;
}

/* Tutor LMS Pages - Top Padding for Fixed Header */
.tutor-wrap,
.tutor-course-single-content-wrapper,
.tutor-full-width-course-top,
.tutor-dashboard {
    padding-top: 100px !important;
}

/* Tutor archive page */
.archive.post-type-archive-courses body {
    padding-top: 100px;
}

/* Tutor Lesson - Full Width Embedded Videos */
.tutor-single-lesson-wrap iframe,
#tutor-single-entry-content iframe,
.tutor-course-single-content-wrapper iframe,
.tutor-lesson-content iframe {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    aspect-ratio: 16/9 !important;
}

/* Responsive video wrapper for better control */
.tutor-single-lesson-wrap .tutor-lesson-content,
#tutor-single-entry-content {
    max-width: 100% !important;
}

/* Fix: Plyr.js + Vimeo API - hang van, kep nincs bug */
.plyr__video-wrapper {
    position: relative !important;
    padding-bottom: 56.25% !important;
    height: 0 !important;
    overflow: hidden !important;
}

.plyr__video-wrapper iframe {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 1 !important;
}
