/* ================================================================
   EVS2026 — SEMANTIC LINK OVERRIDES
   ================================================================
   Purpose: Force SEO semantic links (<a class="evs-semantic-link">)
   to appear as plain inline text links, ignoring all button/animation
   styles from the theme. Loaded on ALL pages.
   ================================================================ */

/* --- Base Reset: Kill all button/animation styles --- */
a.evs-semantic-link,
p a.evs-semantic-link,
div a.evs-semantic-link,
.page-container p a.evs-semantic-link,
.page-content p a.evs-semantic-link,
#page a.evs-semantic-link {
    display: inline !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    border: none !important;
    border-radius: 0 !important;
    color: #1e90ff !important;
    font-size: inherit !important;
    font-weight: normal !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    text-decoration: underline !important;
    text-decoration-color: #1e90ff !important;
    text-decoration-thickness: 1px !important;
    text-underline-offset: 3px !important;
    box-shadow: none !important;
    animation: none !important;
    transition: color 0.3s ease !important;
    transform: none !important;
    text-shadow: none !important;
}

/* --- Hover State --- */
a.evs-semantic-link:hover,
p a.evs-semantic-link:hover,
.page-container p a.evs-semantic-link:hover,
#page a.evs-semantic-link:hover {
    color: #fff !important;
    text-decoration-color: #fff !important;
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    box-shadow: none !important;
    transform: none !important;
    animation: none !important;
    text-shadow: 0 0 10px rgba(30,144,255,0.8) !important;
}

/* --- Kill ::before and ::after pseudo-elements --- */
a.evs-semantic-link::before,
a.evs-semantic-link::after,
p a.evs-semantic-link::before,
p a.evs-semantic-link::after,
.page-container p a.evs-semantic-link::before,
.page-container p a.evs-semantic-link::after,
#page a.evs-semantic-link::after,
#page a.evs-semantic-link::before {
    display: none !important;
    content: none !important;
    animation: none !important;
    background: none !important;
    background-image: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    border: none !important;
    box-shadow: none !important;
    width: 0 !important;
    height: 0 !important;
    pointer-events: none !important;
}

/* ================================================================
   SHARED MOBILE LAYOUT FIXES (All Pages)
   ================================================================ */
@media (max-width: 768px) {

    /* 1. Explore & Event Link positioning — bottom like desktop */
    .ai-explore, .event-link {
        justify-content: flex-end !important;
        padding-bottom: 0 !important;
    }
    .ai-explore h2, .event-link h2 {
        margin: 0 auto 90px auto !important;
    }

    /* 2. Empowered by AI background parallax fix */
    #ai::before {
        background-attachment: scroll !important;
        background-position: center bottom !important;
    }
    .3dvisual {
        align-items: flex-end !important;
        transform: none !important;
        margin-bottom: 0px !important;
    }
    .layer {
        bottom: 0px !important;
        height: 100% !important;
    }
    .layer img {
        height: 100vh !important;
        width: 100vw !important;
        max-width: none !important;
        object-fit: cover !important;
        object-position: center bottom !important;
    }
    .layer0 {
        background-size: cover !important;
    }

    /* 3. Hide Team Member Section on Mobile */
    #ourteam, .ourteam-box {
        display: none !important;
        visibility: hidden !important;
    }

    /* 4. Remove footer links on mobile */
    .footer-links {
        display: none !important;
    }
}
