.wp-block-logogen-theme9-parent .wp-block-logogen-theme9-hero, .editor-styles-wrapper .wp-block-logogen-theme9-parent-editor .wp-block-logogen-theme9-hero { overflow-x: hidden !important; }

body:not(.wp-admin) .wp-block-logogen-theme9-hero,
body:not(.wp-admin) .wp-block-logogen-theme9-gallery,
body:not(.wp-admin) .wp-block-logogen-theme9-services,
body:not(.wp-admin) .wp-block-logogen-theme9-pricing,
body:not(.wp-admin) .wp-block-logogen-theme9-licenses {
    width: 100vw !important;
    max-width: 100vw !important;
    position: relative !important;
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) !important;
    margin: 0 !important;
    padding: 0 !important;
}

.editor-styles-wrapper .wp-block-logogen-theme9-hero,
.editor-styles-wrapper .wp-block-logogen-theme9-gallery,
.editor-styles-wrapper .wp-block-logogen-theme9-services,
.editor-styles-wrapper .wp-block-logogen-theme9-pricing,
.editor-styles-wrapper .wp-block-logogen-theme9-licenses {
    width: 100% !important;
    max-width: 100% !important;
    position: relative !important;
    left: 0 !important;
    transform: none !important;
    margin: 0 auto !important;
}

.editor-styles-wrapper .wp-block-logogen-theme9-hero,
.editor-styles-wrapper .wp-block-logogen-theme9-gallery,
.editor-styles-wrapper .wp-block-logogen-theme9-services { overflow: hidden !important; }

.lg-fluid-title { font-size: clamp(2.2rem, 5vw, 4.5rem) !important; }
.lg-fluid-p { font-size: clamp(0.9rem, 1.5vw, 1.15rem) !important; }
.lg-fluid-h2 { font-size: clamp(1.8rem, 4vw, 3rem) !important; }
.lg-mask-wrap { display: block; overflow: hidden; padding-bottom: 0.1em; }

.wp-block-logogen-theme9-parent .lg-fade-up { opacity: 0; transform: translateY(40px); visibility: hidden; }
.wp-block-logogen-theme9-parent .lg-mask-inner { transform: translateY(110%); display: block; visibility: hidden; }

.block-editor-block-list__layout .lg-fade-up,
.editor-styles-wrapper .lg-fade-up { opacity: 1 !important; transform: none !important; visibility: visible !important; }

.block-editor-block-list__layout .lg-mask-inner,
.editor-styles-wrapper .lg-mask-inner { transform: none !important; display: block !important; visibility: visible !important; }

.editor-styles-wrapper .lg9-input,
.editor-styles-wrapper .lg9-input:focus {
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
    color: #000000 !important;
}

.editor-styles-wrapper .lg-center-canvas {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    width: 100% !important;
}

.lg-gallery-grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 1rem;
}

@media (min-width: 768px) {
    .lg-gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
}

.lg-gallery-item {
    border-radius: 1.25rem;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.8);
    background-color: rgba(255, 255, 255, 0.6);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transform: translateZ(0);
    position: relative;
}

.lg-gallery-item img {
    width: 100%;
    height: 100%;
    min-height: 220px;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.lg-gallery-item:hover img { transform: scale(1.05); }

.lg9-service-card {
    background-color: rgba(255, 255, 255, 0.6) !important;
    backdrop-filter: blur(24px) !important;
    -webkit-backdrop-filter: blur(24px) !important;
    border: 1px solid rgba(255, 255, 255, 0.8) !important;
    border-radius: 24px !important;
    padding: 2rem !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.04) !important;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.lg9-service-card:hover {
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.08) !important;
    transform: translateY(-4px) !important;
}

.lg9-icon-box {
    width: 3rem;
    height: 3rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(163, 230, 53, 0.2) !important;
    color: #65a30d !important;
    margin-bottom: 1.5rem;
    transition: transform 0.5s ease !important;
}

.lg9-service-card:hover .lg9-icon-box { transform: scale(1.1) !important; }

.wp-block-logogen-theme9-pricing ul,
.wp-block-logogen-theme9-licenses ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex;
    flex-direction: column;
}

.wp-block-logogen-theme9-pricing ul { gap: 0.75rem !important; }
.wp-block-logogen-theme9-licenses ul { gap: 1rem !important; }

.wp-block-logogen-theme9-pricing ul li {
    display: flex !important;
    align-items: flex-start !important;
    gap: 0.5rem !important;
    font-size: 0.875rem !important;
    font-weight: 500 !important;
    color: #1a1a1a !important;
    line-height: 1.25rem !important;
    position: relative;
    padding-left: 1.5rem !important;
}

.wp-block-logogen-theme9-pricing ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: #84cc16 !important;
    font-weight: 800 !important;
}

.lg-not-included-title {
    font-size: 0.7rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    color: #9ca3af !important;
    margin: 1rem 0 0.5rem 0 !important;
}

.lg-pricing-inactive-list li { color: #9ca3af !important; text-decoration: line-through !important; opacity: 0.7; }
.lg-pricing-inactive-list li::before { content: '—' !important; color: #9ca3af !important; }

.lg9-pricing-card {
    background-color: rgba(255, 255, 255, 0.5) !important;
    backdrop-filter: blur(24px) !important;
    -webkit-backdrop-filter: blur(24px) !important;
    border: 1px solid rgba(229, 231, 235, 0.8) !important;
    border-radius: 32px !important;
    padding: 2rem !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.04) !important;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1) !important;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.lg9-pricing-card:hover {
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.08) !important;
    transform: translateY(-4px) !important;
}

.lg9-pricing-card.is-pro {
    background-color: rgba(255, 255, 255, 0.8) !important;
    border: 2px solid #a3e635 !important;
    box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.1) !important;
}

.wp-block-logogen-theme9-licenses ul li {
    display: flex !important;
    align-items: flex-start !important;
    gap: 0.75rem !important;
    font-size: 0.875rem !important;
    font-weight: 500 !important;
    line-height: 1.25rem !important;
    position: relative;
    padding-left: 1.5rem !important;
}

.lg9-active-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: #a3e635 !important;
    font-weight: 800 !important;
}

.lg9-inactive-list li { color: #9ca3af !important; text-decoration: line-through !important; opacity: 0.7; }
.lg9-inactive-list li::before { content: '—' !important; color: #9ca3af !important; position: absolute; left: 0; top: 0; }

.lg9-list-label {
    font-size: 0.75rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    color: #9ca3af !important;
    margin-bottom: 1rem !important;
}

.lg9-license-card-light {
    background-color: rgba(255, 255, 255, 0.6) !important;
    backdrop-filter: blur(24px) !important;
    -webkit-backdrop-filter: blur(24px) !important;
    border: 1px solid rgba(229, 231, 235, 0.8) !important;
    border-radius: 32px !important;
    padding: 2.5rem !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.04) !important;
}

.lg9-license-card-dark {
    background-color: #000000 !important;
    border: 1px solid #1f2937 !important;
    border-radius: 32px !important;
    padding: 2.5rem !important;
    box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.2) !important;
    color: #ffffff !important;
}

.wp-block-logogen-theme9-parent-editor {
    border: 1px dashed #cbd5e1;
    border-radius: 12px;
    padding: 16px;
    background: #f8fafc;
}

.wp-block-logogen-theme9-parent .wp-block { max-width: 100%; }
.lg9-parent-label {
    margin-bottom: 12px;
    font-size: 12px;
    font-weight: 700;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.editor-styles-wrapper .wp-block-logogen-theme9-pricing [class*="card"],
.editor-styles-wrapper .wp-block-logogen-theme9-licenses [class*="card"] {
    transform: none !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    z-index: 1 !important;
}

.editor-styles-wrapper .wp-block-logogen-theme9-pricing [class*="badge"],
.editor-styles-wrapper .wp-block-logogen-theme9-pricing [class*="popular"],
.editor-styles-wrapper .wp-block-logogen-theme9-pricing [style*="position: absolute"],
.editor-styles-wrapper .wp-block-logogen-theme9-licenses [class*="badge"],
.editor-styles-wrapper .wp-block-logogen-theme9-licenses [style*="position: absolute"] { pointer-events: none !important; }

.editor-styles-wrapper .wp-block-logogen-theme9-pricing .block-editor-rich-text__editable,
.editor-styles-wrapper .wp-block-logogen-theme9-licenses .block-editor-rich-text__editable {
    position: relative !important;
    z-index: 20 !important;
    pointer-events: auto !important;
}

.editor-styles-wrapper .wp-block-logogen-theme9-licenses ul[class*="active-list"],
.editor-styles-wrapper .wp-block-logogen-theme9-licenses ul[class*="inactive-list"],
.editor-styles-wrapper .wp-block-logogen-theme9-licenses ul[class*="features"] {
    width: 100% !important;
    max-width: none !important;
    display: grid !important;
    grid-template-columns: repeat(1, minmax(0, 1fr)) !important;
    gap: 0.75rem 1.5rem !important;
}

@media (min-width: 768px) {
    .editor-styles-wrapper .wp-block-logogen-theme9-licenses ul[class*="active-list"],
    .editor-styles-wrapper .wp-block-logogen-theme9-licenses ul[class*="inactive-list"],
    .editor-styles-wrapper .wp-block-logogen-theme9-licenses ul[class*="features"] {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

.lg-inline-logogen-theme9-hero-logogen-theme9-hero-1 { background-color: #ffffff !important; font-family: 'Inter', sans-serif; }
.lg-inline-logogen-theme9-hero-logogen-theme9-hero-2 { background: linear-gradient(to top right, rgba(249,250,251,0.5), rgba(255,255,255,0.95), #ffffff); }
.lg-inline-logogen-theme9-hero-logogen-theme9-hero-3 { background-color: rgba(163, 230, 53, 0.2); }
.lg-inline-logogen-theme9-hero-logogen-theme9-hero-4 { background-color: rgba(163, 230, 53, 0.2); }
.lg-inline-logogen-theme9-hero-logogen-theme9-hero-5 { background-color: rgba(255,255,255,0.5); backdrop-filter: blur(24px); border: 1px solid rgba(255,255,255,0.8); box-shadow: 0 8px 32px rgba(0,0,0,0.04); }
.lg-inline-logogen-theme9-hero-logogen-theme9-hero-6 { color: transparent; background-clip: text; -webkit-background-clip: text; background-image: linear-gradient(to right, #000000, #84cc16); }
.lg-inline-logogen-theme9-hero-logogen-theme9-hero-7 { color: #6b7280; }
.lg-inline-logogen-theme9-hero-logogen-theme9-hero-8 { background-color: #ffffff; border: 1px solid rgba(229,231,235,0.8); box-shadow: 0 2px 8px rgba(0,0,0,0.02); }
.lg-inline-logogen-theme9-hero-logogen-theme9-hero-9 { color: #9ca3af; }
.lg-inline-logogen-theme9-hero-logogen-theme9-hero-10 { color: #000000; }
.lg-inline-logogen-theme9-hero-logogen-theme9-hero-11 { background-color: #a3e635; color: #1a1a1a; }
.lg-inline-logogen-theme9-hero-logogen-theme9-hero-12 { background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent); }
.lg-inline-logogen-theme9-hero-logogen-theme9-hero-13 { border-color: rgba(229,231,235,0.5); box-shadow: 0 -5px 30px rgba(0,0,0,0.04); background-color: #ffffff; }
.lg-inline-logogen-theme9-hero-logogen-theme9-hero-14 { background: linear-gradient(to bottom, transparent, transparent, rgba(255,255,255,0.6)); }
.lg-inline-logogen-theme9-hero-logogen-theme9-hero-15 { background-color: rgba(255,255,255,0.7); backdrop-filter: blur(24px); border: 1px solid rgba(255,255,255,0.8); box-shadow: 0 8px 32px rgba(0,0,0,0.04); }
.lg-inline-logogen-theme9-hero-logogen-theme9-hero-16 { background-color: rgba(163,230,53,0.2); }
.lg-inline-logogen-theme9-hero-logogen-theme9-hero-17 { color: #65a30d; }
.lg-inline-logogen-theme9-hero-logogen-theme9-hero-18 { color: #000000; }
.lg-inline-logogen-theme9-hero-logogen-theme9-hero-19 { color: #6b7280; }
.lg-inline-logogen-theme9-hero-logogen-theme9-hero-20 { background-color: #ffffff; border: 1px solid #e5e7eb; color: #000000; }
.lg-inline-logogen-theme9-hero-logogen-theme9-hero-21 { background-color: #000000; color: #ffffff; }

.lg-inline-logogen-theme9-gallery-logogen-theme9-gallery-1 { background-color: #fafafa !important; font-family: 'Inter', sans-serif; }
.lg-inline-logogen-theme9-gallery-logogen-theme9-gallery-2 { background: linear-gradient(to top right, rgba(249,250,251,0.5), rgba(255,255,255,0.95), #ffffff); }
.lg-inline-logogen-theme9-gallery-logogen-theme9-gallery-3 { color: #000000; }
.lg-inline-logogen-theme9-gallery-logogen-theme9-gallery-4 { color: #6b7280; }

.lg-inline-logogen-theme9-services-logogen-theme9-services-1 { background-color: #fafafa !important; font-family: 'Inter', sans-serif; }
.lg-inline-logogen-theme9-services-logogen-theme9-services-2 { color: #000000; }
.lg-inline-logogen-theme9-services-logogen-theme9-services-3 { color: #6b7280; }
.lg-inline-logogen-theme9-services-logogen-theme9-services-4,
.lg-inline-logogen-theme9-services-logogen-theme9-services-6,
.lg-inline-logogen-theme9-services-logogen-theme9-services-8,
.lg-inline-logogen-theme9-services-logogen-theme9-services-10 { color: #000000; }
.lg-inline-logogen-theme9-services-logogen-theme9-services-5,
.lg-inline-logogen-theme9-services-logogen-theme9-services-7,
.lg-inline-logogen-theme9-services-logogen-theme9-services-9,
.lg-inline-logogen-theme9-services-logogen-theme9-services-11 { color: #6b7280; }

.lg-inline-logogen-theme9-pricing-1 { background-color: #fafafa !important; overflow: hidden; }
.lg-inline-logogen-theme9-pricing-2 { color: #000000; }
.lg-inline-logogen-theme9-pricing-3 { color: #6b7280; }
.lg-inline-logogen-theme9-pricing-4 { border-color: rgba(0,0,0,0.05); }

.lg-inline-logogen-theme9-licenses-1 { background-color: #fafafa !important; overflow: hidden; }
.lg-inline-logogen-theme9-licenses-2 { color: #000000; }
.lg-inline-logogen-theme9-licenses-3 { color: #6b7280; }
.lg-inline-logogen-theme9-licenses-4 { color: #9ca3af; }
.lg-inline-logogen-theme9-licenses-5 { color: #a3e635; }
.lg-inline-logogen-theme9-licenses-6 { color: #ffffff; }
.lg-inline-logogen-theme9-licenses-7 { color: #d1d5db; }

/* Theme9 contrast hardening for light cards */
.wp-block-logogen-theme9-pricing .lg9-pricing-card h3,
.wp-block-logogen-theme9-pricing .lg9-pricing-card .text-4xl,
.wp-block-logogen-theme9-pricing .lg9-pricing-card .font-extrabold {
    color: #111111 !important;
}

.wp-block-logogen-theme9-pricing .lg9-pricing-card p,
.wp-block-logogen-theme9-pricing .lg9-pricing-card span:not(.bg-\[\#a3e635\]) {
    color: #4b5563 !important;
}

.wp-block-logogen-theme9-licenses .lg9-license-card-light .lg9-list-label,
.wp-block-logogen-theme9-licenses .lg9-license-card-light .lg9-active-list li,
.wp-block-logogen-theme9-licenses .lg9-license-card-light .lg9-active-list li * {
    color: #111111 !important;
}
