/* =========================================================
   YEMOLY WELCOME & QUICK LINKS PANEL
   Professional News / Entertainment Header Component
========================================================= */


/* =========================================================
   MAIN PANEL
========================================================= */

.yemoly-welcome-panel {
    width: 100%;
    position: relative;
    z-index: 999;

    background:
        linear-gradient(
            180deg,
            #ffffff 0%,
            #fbfdfb 100%
        );

    border-bottom: 1px solid #e5e5e5;

    overflow: hidden;
}


/* Green + Yellow top accent */

.yemoly-welcome-panel::before {
    content: "";

    display: block;

    width: 100%;
    height: 3px;

    background:
        linear-gradient(
            90deg,
            #159447 0%,
            #159447 70%,
            #f4c400 100%
        );
}


/* =========================================================
   CONTAINER
========================================================= */

.yemoly-welcome-container {
    width: 100%;
    max-width: 1250px;

    margin: 0 auto;

    padding: 27px 20px 24px;

    box-sizing: border-box;
}


/* =========================================================
   WELCOME HEADER
========================================================= */

.yemoly-welcome-heading {
    text-align: center;

    margin-bottom: 23px;

    animation:
        yemolyWelcomeAppear
        .75s
        cubic-bezier(.22,1,.36,1)
        both;
}


/* =========================================================
   WELCOME KICKER
========================================================= */

.yemoly-welcome-kicker {
    display: flex;

    align-items: center;
    justify-content: center;

    gap: 10px;

    margin-bottom: 5px;

    color: #777;

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 2.5px;

    text-transform: uppercase;
}


.yemoly-welcome-kicker span {
    width: 30px;
    height: 1px;

    background: #f4c400;
}


/* =========================================================
   YEMOLY TITLE
========================================================= */

.yemoly-welcome-title {
    display: flex;

    align-items: center;
    justify-content: center;

    gap: 8px;

    margin: 0;

    color: #159447;

    font-size: 29px;

    line-height: 1.1;

    font-weight: 900;

    letter-spacing: 2px;

    text-transform: uppercase;
}


/* Yellow star */

.yemoly-welcome-star {
    display: inline-block;

    color: #f4c400;

    font-size: 21px;

    animation:
        yemolyStarFloat
        3s
        ease-in-out
        infinite;
}


/* =========================================================
   SUBTITLE
========================================================= */

.yemoly-welcome-subtitle {
    margin: 7px 0 0;

    color: #777;

    font-size: 13px;

    line-height: 1.5;

    font-weight: 500;

    letter-spacing: .35px;
}


/* =========================================================
   QUICK LINKS
========================================================= */

.yemoly-quick-links {
    width: 100%;
}


/* =========================================================
   MAIN CATEGORY LINKS
========================================================= */

.yemoly-main-links {
    display: flex;

    align-items: center;
    justify-content: center;

    flex-wrap: wrap;

    gap: 0;

    margin: 0;

    padding: 12px 10px;

    border-top: 1px solid #eeeeee;

    border-bottom: 1px solid #eeeeee;

    animation:
        yemolyLinksAppear
        .65s
        cubic-bezier(.22,1,.36,1)
        .12s
        both;
}


/* =========================================================
   MAIN LINKS
========================================================= */

.yemoly-main-links a {
    position: relative;

    display: inline-block;

    padding: 5px 11px;

    color: #159447;

    text-decoration: none !important;

    font-size: 14px;

    line-height: 1.5;

    font-weight: 800;

    letter-spacing: .4px;

    transition:
        color .25s ease,
        transform .25s ease;
}


/* Yellow animated underline */

.yemoly-main-links a::after {
    content: "";

    position: absolute;

    left: 11px;
    right: 11px;

    bottom: 1px;

    height: 2px;

    background: #f4c400;

    transform: scaleX(0);

    transform-origin: center;

    transition:
        transform .25s ease;
}


.yemoly-main-links a:hover {
    color: #0d6f35;

    transform: translateY(-2px);
}


.yemoly-main-links a:hover::after {
    transform: scaleX(1);
}


/* =========================================================
   SEPARATORS
========================================================= */

.yemoly-link-separator {
    color: #c5c5c5;

    font-size: 13px;

    font-weight: 400;

    user-select: none;
}


/* =========================================================
   PROMOTION AREA
========================================================= */

.yemoly-promotion-area {
    position: relative;

    margin-top: 21px;

    padding-top: 17px;

    border-top: 1px solid #e9e9e9;

    animation:
        yemolyPromotionAppear
        .8s
        cubic-bezier(.22,1,.36,1)
        .35s
        both;
}


/* =========================================================
   PROMOTION LABEL
========================================================= */

.yemoly-promotion-label {
    display: flex;

    align-items: center;
    justify-content: center;

    margin-bottom: 11px;
}


.yemoly-promotion-label span {
    display: inline-flex;

    align-items: center;

    padding: 5px 11px;

    border-radius: 20px;

    background: #f4c400;

    color: #111;

    font-size: 9px;

    line-height: 1;

    font-weight: 900;

    letter-spacing: 1.5px;

    text-transform: uppercase;
}


/* =========================================================
   PROMOTIONAL LINKS
========================================================= */

.yemoly-promotion-links {
    display: flex;

    align-items: stretch;
    justify-content: center;

    flex-wrap: wrap;

    gap: 10px;
}


/* =========================================================
   PROMO BUTTON
========================================================= */

.yemoly-promo-link {
    position: relative;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 7px;

    min-height: 39px;

    padding: 8px 16px;

    border: 1px solid #dfe9e2;

    border-radius: 5px;

    background: #ffffff;

    color: #159447;

    text-decoration: none !important;

    font-size: 12px;

    line-height: 1.3;

    font-weight: 900;

    letter-spacing: .35px;

    box-shadow:
        0 2px 7px rgba(0,0,0,.035);

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


/* =========================================================
   PROMO ICON
========================================================= */

.yemoly-promo-icon {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    width: 21px;
    height: 21px;

    flex-shrink: 0;

    border-radius: 50%;

    background: #f4c400;

    color: #111;

    font-size: 12px;

    transition:
        transform .25s ease,
        background-color .25s ease;
}


/* =========================================================
   PROMO HOVER
========================================================= */

.yemoly-promo-link:hover {
    background: #159447;

    border-color: #159447;

    color: #ffffff;

    transform: translateY(-3px);

    box-shadow:
        0 8px 20px rgba(21,148,71,.16);
}


.yemoly-promo-link:hover .yemoly-promo-icon {
    background: #f4c400;

    color: #111;

    transform:
        rotate(8deg)
        scale(1.08);
}


/* =========================================================
   FIRST PROMOTION — SUBTLE ATTENTION EFFECT
========================================================= */

.yemoly-promo-link:first-child {
    animation:
        yemolyPromoGlow
        4s
        ease-in-out
        2s
        infinite;
}


/* =========================================================
   ANIMATIONS
========================================================= */

@keyframes yemolyWelcomeAppear {

    from {
        opacity: 0;

        transform:
            translateY(-15px)
            scale(.98);
    }

    to {
        opacity: 1;

        transform:
            translateY(0)
            scale(1);
    }

}


@keyframes yemolyLinksAppear {

    from {
        opacity: 0;

        transform: translateY(10px);
    }

    to {
        opacity: 1;

        transform: translateY(0);
    }

}


@keyframes yemolyPromotionAppear {

    from {
        opacity: 0;

        transform: translateY(15px);
    }

    to {
        opacity: 1;

        transform: translateY(0);
    }

}


@keyframes yemolyStarFloat {

    0%,
    100% {
        transform:
            rotate(0deg)
            scale(1);
    }

    50% {
        transform:
            rotate(12deg)
            scale(1.12);
    }

}


@keyframes yemolyPromoGlow {

    0%,
    72%,
    100% {
        box-shadow:
            0 2px 7px rgba(0,0,0,.035);
    }

    82% {
        box-shadow:
            0 0 0 4px rgba(244,196,0,.10),
            0 5px 16px rgba(21,148,71,.10);
    }

    90% {
        box-shadow:
            0 0 0 7px rgba(244,196,0,0),
            0 5px 16px rgba(21,148,71,.05);
    }

}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 768px) {

    .yemoly-welcome-container {
        padding: 23px 15px 21px;
    }


    .yemoly-welcome-title {
        font-size: 24px;
    }


    .yemoly-welcome-subtitle {
        font-size: 12px;
    }


    .yemoly-main-links a {
        font-size: 13px;

        padding-left: 8px;
        padding-right: 8px;
    }


    .yemoly-promotion-links {
        gap: 8px;
    }


    .yemoly-promo-link {
        font-size: 11px;

        padding-left: 12px;
        padding-right: 12px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 480px) {

    .yemoly-welcome-container {
        padding: 20px 9px 18px;
    }


    .yemoly-welcome-kicker {
        font-size: 8px;

        letter-spacing: 2px;

        gap: 7px;
    }


    .yemoly-welcome-kicker span {
        width: 20px;
    }


    .yemoly-welcome-title {
        font-size: 21px;

        letter-spacing: 1.5px;
    }


    .yemoly-welcome-star {
        font-size: 17px;
    }


    .yemoly-welcome-subtitle {
        margin-top: 6px;

        font-size: 11px;
    }


    .yemoly-main-links {
        padding: 9px 4px;
    }


    .yemoly-main-links a {
        padding: 3px 5px;

        font-size: 11px;

        letter-spacing: .15px;
    }


    .yemoly-link-separator {
        font-size: 10px;
    }


    .yemoly-main-links a::after {
        left: 5px;
        right: 5px;
    }


    .yemoly-promotion-area {
        margin-top: 17px;

        padding-top: 15px;
    }


    .yemoly-promotion-label {
        margin-bottom: 9px;
    }


    .yemoly-promotion-label span {
        font-size: 8px;

        letter-spacing: 1.2px;
    }


    .yemoly-promotion-links {
        gap: 7px;
    }


    .yemoly-promo-link {
        min-height: 34px;

        padding: 6px 9px;

        font-size: 10px;
    }


    .yemoly-promo-icon {
        width: 18px;
        height: 18px;

        font-size: 10px;
    }

}


/* =========================================================
   VERY SMALL PHONES
========================================================= */

@media (max-width: 360px) {

    .yemoly-welcome-title {
        font-size: 19px;
    }


    .yemoly-main-links {
        padding-left: 2px;
        padding-right: 2px;
    }


    .yemoly-main-links a {
        font-size: 10px;

        padding-left: 4px;
        padding-right: 4px;
    }


    .yemoly-promo-link {
        width: 100%;
    }

}


/* =========================================================
   ACCESSIBILITY
========================================================= */

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

    .yemoly-welcome-heading,
    .yemoly-main-links,
    .yemoly-promotion-area,
    .yemoly-welcome-star,
    .yemoly-promo-link {
        animation: none !important;
    }


    .yemoly-main-links a,
    .yemoly-promo-link,
    .yemoly-promo-icon {
        transition: none !important;
    }

}