/*
Theme Name: Aula IGA Web
Theme URI: 
Author: IGA Web
Author URI: 
Description: A fast, optimized custom theme based on IGA Web HTML frontend.
Version: 1.4.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: igaweb
*/

html,
body {
    background-color: #f8fafc;
    overflow-x: clip;
}

html.dark,
html.dark body {
    background-color: #111827;
}

.hide-scrollbar::-webkit-scrollbar {
    display: none;
}

.hide-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.card-hover {
    transition: all 0.2s ease-in-out;
}

.card-hover:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px -10px rgba(0, 0, 0, 0.1);
}

.dark .card-hover:hover {
    box-shadow: 0 12px 24px -10px rgba(0, 0, 0, 0.5);
}

html {
    scroll-padding-top: 80px;
}

.iga-featured-title-shell {
    overflow: hidden;
    max-width: 100%;
}

.iga-featured-title-marquee {
    display: inline-flex;
    align-items: center;
    gap: 2rem;
    white-space: nowrap;
    min-width: max-content;
}

.iga-featured-card:hover .iga-featured-title-marquee,
.iga-featured-card:focus-visible .iga-featured-title-marquee {
    animation: igaweb-featured-marquee 8s linear infinite;
}

.iga-course-description > :last-child {
    margin-bottom: 0;
}

.iga-detail-stack > * + * {
    margin-top: 1.375rem;
}

.iga-detail-section-title {
    margin-bottom: 1.375rem;
}

.iga-detail-section-head {
    margin-bottom: 1.375rem;
}

.iga-catalog-card-copy {
    min-width: 0;
}

@media (min-width: 640px) {
    .iga-catalog-card-copy {
        padding-right: 8rem;
    }

    .iga-catalog-card-copy--discount {
        padding-right: 9rem;
    }
}

.iga-course-hero-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    min-height: 2.2rem;
    padding: 0.5rem 0.9rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(15, 23, 42, 0.64);
    color: #f8fafc;
    backdrop-filter: blur(12px);
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.18);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.iga-course-hero-chip svg,
.iga-course-hero-chip i {
    flex-shrink: 0;
}

.iga-course-hero-chip--area {
    background: rgba(15, 23, 42, 0.7);
    color: #f8fafc;
}

.iga-course-hero-chip--category {
    background: rgba(30, 41, 59, 0.74);
    color: #e2e8f0;
}

.iga-course-hero-chip--level {
    border-color: rgba(167, 139, 250, 0.5);
    background: rgba(109, 40, 217, 0.86);
    color: #ffffff;
}

.iga-course-media-frame {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    border-radius: 1rem;
    background: rgba(15, 23, 42, 0.08);
}

.iga-course-media-frame img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}

.iga-course-hero-ambient {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.iga-course-hero-ambient img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0.18;
    filter: blur(28px);
    transform: scale(1.08);
}

.nav-underline-container {
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 2px;
    overflow: hidden;
}

.nav-animated-line {
    position: absolute;
    width: 140px;
    height: 100%;
    background: linear-gradient(90deg, transparent, #7c3aed, transparent);
    border-radius: 2px;
    animation: slideNav 4s ease-in-out infinite alternate;
}

@keyframes slideNav {
    0% {
        left: 0%;
        transform: translateX(-100%);
    }

    100% {
        left: 100%;
        transform: translateX(0%);
    }
}

@keyframes igaweb-featured-marquee {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(calc(-50% - 1rem));
    }
}
