/* Primary navigation dropdown for the grouped competition information links. */
@media (min-width: 861px) {
    body.pa12-theme .pa12-nav,
    body.pa12-theme .pa12-menu {
        flex-wrap: nowrap;
        align-items: center;
    }

    body.pa12-theme .pa12-menu > li {
        flex: 0 0 auto;
    }

    body.pa12-theme .pa12-auth {
        margin-left: 18px;
    }
}

body.pa12-theme .pa12-menu > .pa12-awards-info-menu-item {
    position: relative;
}

body.pa12-theme .pa12-awards-info-menu-item::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 19;
    width: 100%;
    height: 14px;
    background: transparent;
}

body.pa12-theme .pa12-awards-info-menu-item > a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

body.pa12-theme .pa12-awards-info-menu-item > a::before {
    content: "";
    width: 7px;
    height: 7px;
    border-right: 1px solid currentColor;
    border-bottom: 1px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
    transition: transform .2s ease;
}

body.pa12-theme .pa12-awards-info-menu-item > .sub-menu {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    z-index: 20;
    min-width: 220px;
    margin: 0;
    padding: 8px;
    list-style: none;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 12px;
    background: #8a5b04;
    box-shadow: 0 18px 38px rgba(23, 18, 11, .25);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-6px);
    visibility: hidden;
    transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
}

body.pa12-theme .pa12-awards-info-menu-item:hover > .sub-menu,
body.pa12-theme .pa12-awards-info-menu-item:focus-within > .sub-menu {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    visibility: visible;
}

body.pa12-theme .pa12-awards-info-menu-item:hover > a::before,
body.pa12-theme .pa12-awards-info-menu-item:focus-within > a::before {
    transform: rotate(225deg) translate(-1px, -1px);
}

body.pa12-theme .pa12-awards-info-menu-item .sub-menu a {
    display: block;
    padding: 10px 12px;
    border-radius: 8px;
    color: #fff !important;
    font-size: 12px;
    line-height: 1.3;
    text-transform: none;
    white-space: nowrap;
}

body.pa12-theme .pa12-awards-info-menu-item .sub-menu a::after {
    display: none !important;
    content: none !important;
}

body.pa12-theme .pa12-awards-info-menu-item .sub-menu a:hover,
body.pa12-theme .pa12-awards-info-menu-item .sub-menu a:focus-visible {
    background: rgba(255, 255, 255, .14) !important;
    color: #fff !important;
    transform: none !important;
}

@media (max-width: 860px) {
    body.pa12-theme .pa12-awards-info-menu-item > a::before {
        display: none;
    }

    body.pa12-theme .pa12-awards-info-menu-item > .sub-menu {
        position: static;
        min-width: 0;
        margin: 2px 0 6px 10px;
        padding: 4px 0 4px 10px;
        border: 0;
        border-left: 1px solid rgba(255, 255, 255, .28);
        border-radius: 0;
        background: rgba(223, 148, 0, .34);
        box-shadow: none;
        opacity: 1;
        pointer-events: auto;
        transform: none;
        visibility: visible;
    }

    body.pa12-theme .pa12-awards-info-menu-item .sub-menu a {
        padding: 9px 12px !important;
        font-size: 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.pa12-theme .pa12-awards-info-menu-item > a::before,
    body.pa12-theme .pa12-awards-info-menu-item > .sub-menu {
        transition: none;
    }
}
