/* ==========================================================================\n   GGtheme v1.6.2 — Hero Cover + Sidebar Polish\n   Minimal visual patch on top of v1.6.1.\n   - Keep the decorative hero frame stationary; animate only the cover image.\n   - Remove the short accent rule rendered at the top of sidebar blocks.\n   ========================================================================== */

/* Hero: the outer anchor/frame stays fixed. Only the actual cover moves. */
.iit-hero-cover {
    transform: none !important;
    transition: none !important;
}

.iit-hero-cover::before {
    pointer-events: none;
    transform: rotate(-4deg) !important;
}

.iit-hero-cover img {
    transform: rotate(1.8deg);
    transform-origin: center center;
    transition: transform .30s ease, box-shadow .30s ease;
    will-change: transform;
}

.iit-hero-cover:hover {
    transform: none !important;
}

.iit-hero-cover:hover img {
    transform: rotate(0deg) translateY(-5px);
}

/* Sidebar: remove the small blue/accent line above the first sidebar card. */
.gtheme-sidebar-shell .pkp_block::before {
    content: none !important;
    display: none !important;
}

@media (prefers-reduced-motion: reduce) {
    .iit-hero-cover img {
        transition: none !important;
    }
    .iit-hero-cover:hover img {
        transform: rotate(1.8deg);
    }
}
