
/* =========================================================
   CLASSIFIED HOME — HERO MOTION
========================================================= */

.hero-classified-title {
    display: inline-block;

    cursor: default;

    color: #f4f5f6;

    background:
        linear-gradient(
            110deg,
            #f4f5f6 0%,
            #f4f5f6 32%,
            #d1ad68 48%,
            #f3d999 54%,
            #d1ad68 60%,
            #f4f5f6 76%,
            #f4f5f6 100%
        );

    background-size: 260% 100%;
    background-position: 100% 50%;

    -webkit-background-clip: text;
    background-clip: text;

    transition:
        transform .35s cubic-bezier(.2,.8,.2,1),
        letter-spacing .35s ease,
        text-shadow .35s ease,
        color .35s ease;

    will-change:
        transform,
        background-position;
}


.hero-classified-title:hover {
    color: transparent;

    transform:
        translateY(-4px)
        scale(1.015);

    letter-spacing: .025em;

    text-shadow:
        0 0 30px rgba(209,173,104,.10);

    animation:
        classified-title-sweep
        1.1s
        cubic-bezier(.2,.8,.2,1)
        forwards;
}


@keyframes classified-title-sweep {

    0% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }

}


/* =========================================================
   HOME FEATURE ICONS
========================================================= */

.home-card-icon {
    width: 46px;
    height: 46px;

    display: grid;
    place-items: center;

    margin-bottom: 18px;

    border:
        1px solid
        rgba(209,173,104,.18);

    border-radius: 12px;

    color: #b4bdc9;

    background:
        linear-gradient(
            145deg,
            rgba(209,173,104,.055),
            rgba(255,255,255,.012)
        );

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.025);

    transition:
        color .22s ease,
        transform .22s ease,
        border-color .22s ease,
        background .22s ease,
        box-shadow .22s ease;
}


.home-card-icon svg {
    width: 23px;
    height: 23px;

    fill: none;

    stroke: currentColor;
    stroke-width: 1.8;

    stroke-linecap: round;
    stroke-linejoin: round;
}


.home-card-icon:hover {
    color: #dfbd75;

    transform:
        translateY(-3px)
        rotate(-2deg);

    border-color:
        rgba(209,173,104,.42);

    background:
        linear-gradient(
            145deg,
            rgba(209,173,104,.13),
            rgba(209,173,104,.025)
        );

    box-shadow:
        0 8px 28px rgba(0,0,0,.16),
        0 0 18px rgba(209,173,104,.055);
}


/* Arabic */

html[dir="rtl"] .home-card-icon {
    margin-left: auto;
}


/* Mobile */

@media (max-width: 600px) {

    .hero-classified-title:hover {
        transform:
            translateY(-2px)
            scale(1.01);
    }

    .home-card-icon {
        width: 42px;
        height: 42px;
    }

    .home-card-icon svg {
        width: 21px;
        height: 21px;
    }

}


/* Accessibility */

@media (prefers-reduced-motion: reduce) {

    .hero-classified-title,
    .home-card-icon {
        animation: none !important;
        transition: none !important;
        transform: none !important;
    }

}

