/*
Theme Name: ALV Technologies
Theme URI: https://alvtech.com
Author: ALV Technologies Pte Ltd
Description: Fully editable theme for ALV Technologies Pte Ltd (Singapore and Southeast Asia): every page (Home, About, Products, eight solution pages, Applications, Partners, Regional Network, Contact, Footer) is a real WordPress page edited in the block editor, and the top bar is a real menu (Appearance > Menus).
Version: 2.0.0
Text Domain: alv-technologies
*/

        body {
            background-color: #0B0F17;
            color: #E2E8F0;
            font-family: 'Inter', sans-serif;
            overflow-x: hidden;
        }
        .glow-cyan {
            box-shadow: 0 0 25px rgba(0, 240, 255, 0.25);
        }
        .glow-violet {
            box-shadow: 0 0 25px rgba(139, 92, 246, 0.25);
        }
        .glass-panel {
            background: rgba(19, 26, 39, 0.7);
            backdrop-filter: blur(12px);
            border: 1px solid rgba(255, 255, 255, 0.08);
        }
        .glass-panel-hover:hover {
            border-color: rgba(0, 240, 255, 0.4);
            box-shadow: 0 10px 30px -10px rgba(0, 240, 255, 0.15);
        }
        .tab-active {
            color: #00F0FF;
            border-bottom: 2px solid #00F0FF;
        }
        /* Custom scrollbar */
        ::-webkit-scrollbar {
            width: 8px;
        }
        ::-webkit-scrollbar-track {
            background: #0B0F17;
        }
        ::-webkit-scrollbar-thumb {
            background: #1E293B;
            border-radius: 4px;
        }
        ::-webkit-scrollbar-thumb:hover {
            background: #334155;
        }

/* WordPress admin bar offset for sticky header */
body.admin-bar header.sticky { top: 32px; }
@media (max-width: 782px) { body.admin-bar header.sticky { top: 46px; } }

/* Buttons: a paragraph block wrapping a link. Whole box is clickable. */
.alv-btn a { color: inherit; text-decoration: none; }
.alv-btn a::before { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.alv-arrow a::after { content: "\2192"; margin-left: .6rem; display: inline-block; transition: transform .2s; }
.alv-arrow:hover a::after { transform: translateX(4px); }
.js-goto-pillar-a, .js-goto-pillar-l, .js-goto-pillar-v { cursor: pointer; }

/* Block editor: dark canvas, full width, no overlay on button links */
.editor-styles-wrapper { background-color: #0B0F17 !important; color: #E2E8F0; font-family: 'Inter', sans-serif; }
.editor-styles-wrapper .wp-block { max-width: none !important; }
.editor-styles-wrapper .alv-btn a::before { display: none; }
/* Editor: WordPress wraps group children in an extra container that breaks grids/flex. Make it transparent. */
.editor-styles-wrapper .wp-block-group > .wp-block-group__inner-container,
.editor-styles-wrapper .wp-block-group > .block-editor-inner-blocks,
.editor-styles-wrapper .wp-block-group > .block-editor-inner-blocks > .block-editor-block-list__layout { display: contents; }
.editor-styles-wrapper .wp-block { margin-left: 0 !important; margin-right: 0 !important; }
/* Tailwind space-y-* does not see through the editor's extra wrappers, so repeat it here. */
.editor-styles-wrapper [class*="space-y-"] > .block-editor-inner-blocks > .block-editor-block-list__layout > * + * { margin-top: var(--alv-gap, 0); }
.editor-styles-wrapper .space-y-2 { --alv-gap: .5rem; }
.editor-styles-wrapper .space-y-3 { --alv-gap: .75rem; }
.editor-styles-wrapper .space-y-4 { --alv-gap: 1rem; }
.editor-styles-wrapper .space-y-6 { --alv-gap: 1.5rem; }
.editor-styles-wrapper .space-y-20 { --alv-gap: 5rem; }
.editor-styles-wrapper .space-y-24 { --alv-gap: 6rem; }
.editor-styles-wrapper p[class*="alvi-"] { margin: 0; }
/* Empty decorative blocks (icons, dots) must not show the "Type / to choose a block" hint */
.editor-styles-wrapper p:empty::before, .editor-styles-wrapper p[data-empty="true"]::before, .editor-styles-wrapper p[data-empty="true"]::after, .editor-styles-wrapper [data-rich-text-placeholder]::after, .editor-styles-wrapper [data-rich-text-placeholder]::before { display: none !important; content: none !important; }

/* Whole card clickable via the title link */
.alv-card-link a::before { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.alv-card-link a { color: inherit; text-decoration: none; }
.alv-card-link .alv-btn { position: relative; z-index: 2; }
.editor-styles-wrapper .alv-card-link a::before { display: none; }
.wp-block-group p a[href^="mailto"] { color: #22d3ee; }
