/*
Theme Name: NXT Media
Theme URI: https://nxtmedia.in
Author: NXT Media
Description: Premium custom news theme for NXT Media.
Version: 1.1
*/

/* =========================================================
   NXT MEDIA — DESIGN SYSTEM
========================================================= */

:root {
    --nxt-black: #111111;
    --nxt-dark: #181818;
    --nxt-text: #222222;
    --nxt-muted: #707070;
    --nxt-border: #dddddd;
    --nxt-light: #f5f5f5;
    --nxt-white: #ffffff;
    --nxt-accent: #d71920;

    --nxt-container: 1240px;

    --nxt-sans:
        Arial,
        Helvetica,
        sans-serif;

    --nxt-serif:
        Georgia,
        "Times New Roman",
        serif;
}


/* =========================================================
   RESET
========================================================= */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    background: var(--nxt-white);
    color: var(--nxt-text);
    font-family: var(--nxt-sans);
    font-size: 16px;
    line-height: 1.55;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea,
select {
    font: inherit;
}

button {
    cursor: pointer;
}


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

.nxt-container {
    width: min(calc(100% - 40px), var(--nxt-container));
    margin-left: auto;
    margin-right: auto;
}


/* =========================================================
   TOP BAR
========================================================= */

.nxt-topbar {
    background: var(--nxt-black);
    color: #ffffff;
    font-size: 12px;
}

.nxt-topbar-inner {
    min-height: 34px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.nxt-topbar-links {
    display: flex;
    align-items: center;
    gap: 18px;
}

.nxt-topbar a {
    opacity: 0.85;
    transition: opacity 0.2s ease;
}

.nxt-topbar a:hover {
    opacity: 1;
}


/* =========================================================
   BRAND BAR
========================================================= */

.nxt-brandbar {
    background: var(--nxt-white);
}

.nxt-brandbar-inner {
    min-height: 112px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.nxt-brand {
    display: flex;
    align-items: center;
}

.nxt-logo {
    display: inline-flex;
    align-items: baseline;
    gap: 7px;

    color: var(--nxt-black);

    font-weight: 900;
    letter-spacing: -0.07em;
    line-height: 1;
}

.nxt-logo-main {
    font-size: 52px;
}

.nxt-logo-media {
    font-size: 20px;
    letter-spacing: 0.04em;
}

.nxt-brand-tagline {
    color: var(--nxt-muted);
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.nxt-mobile-menu-button {
    display: none;

    width: 42px;
    height: 42px;

    padding: 9px;

    border: 1px solid var(--nxt-border);
    background: var(--nxt-white);
}

.nxt-mobile-menu-button span {
    display: block;
    height: 2px;
    margin: 5px 0;
    background: var(--nxt-black);
}


/* =========================================================
   NAVIGATION
========================================================= */

.nxt-navigation {
    border-top: 1px solid var(--nxt-border);
    border-bottom: 1px solid var(--nxt-border);
    background: var(--nxt-white);
}

.nxt-navigation-inner {
    min-height: 48px;

    display: flex;
    align-items: center;
}

.nxt-home-link {
    flex-shrink: 0;
    margin-right: 25px;
}

.nxt-home-link a {
    color: var(--nxt-accent);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
}

.nxt-menu-wrapper {
    flex: 1;
    min-width: 0;
}

.nxt-primary-menu {
    display: flex;
    align-items: center;
    gap: 25px;

    margin: 0;
    padding: 0;

    list-style: none;
}

.nxt-primary-menu li {
    margin: 0;
    padding: 0;
}

.nxt-primary-menu a {
    display: block;

    padding: 15px 0;

    color: var(--nxt-black);

    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.02em;
    text-transform: uppercase;

    white-space: nowrap;

    transition: color 0.2s ease;
}

.nxt-primary-menu a:hover {
    color: var(--nxt-accent);
}

.nxt-search-button {
    flex-shrink: 0;

    width: 44px;
    height: 44px;

    border: 0;
    background: transparent;

    color: var(--nxt-black);
}

.nxt-search-icon {
    font-size: 17px;
}


/* =========================================================
   BREAKING NEWS
========================================================= */

.nxt-breaking {
    background: var(--nxt-accent);
    color: var(--nxt-white);
}

.nxt-breaking-inner {
    min-height: 42px;

    display: flex;
    align-items: center;

    overflow: hidden;
}

.nxt-breaking-label {
    position: relative;

    flex-shrink: 0;

    padding-right: 22px;

    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.nxt-breaking-label::after {
    content: "";

    position: absolute;
    top: 50%;
    right: 10px;

    width: 4px;
    height: 4px;

    border-radius: 50%;
    background: #ffffff;

    transform: translateY(-50%);
}

.nxt-breaking-content {
    min-width: 0;
    overflow: hidden;
}

.nxt-breaking-list {
    display: flex;
    gap: 35px;

    overflow: hidden;
}

.nxt-breaking-list a {
    display: block;

    max-width: 500px;

    overflow: hidden;

    color: #ffffff;

    font-size: 13px;
    font-weight: 600;

    text-overflow: ellipsis;
    white-space: nowrap;
}


/* =========================================================
   PAGE WRAPPER
========================================================= */

.nxt-page-wrapper {
    min-height: 300px;
}


/* =========================================================
   HERO
========================================================= */

.nxt-hero-section {
    padding: 42px 0 20px;
}

.nxt-hero-grid {
    display: grid;

    grid-template-columns:
        minmax(0, 1.7fr)
        minmax(320px, 0.9fr);

    gap: 30px;
}

.nxt-hero-main {
    min-width: 0;
}

.nxt-hero-image {
    display: block;

    overflow: hidden;

    background: var(--nxt-light);
}

.nxt-hero-image img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;

    transition: transform 0.4s ease;
}

.nxt-hero-main:hover .nxt-hero-image img {
    transform: scale(1.025);
}

.nxt-hero-content {
    padding-top: 18px;
}

.nxt-category {
    display: inline-block;

    margin-bottom: 8px;

    color: var(--nxt-accent);

    font-size: 11px;
    font-weight: 900;

    letter-spacing: 0.08em;
    line-height: 1.2;

    text-transform: uppercase;
}

.nxt-hero-content h1 {
    margin: 0 0 12px;

    color: var(--nxt-black);

    font-family: var(--nxt-serif);

    font-size: clamp(32px, 4vw, 54px);
    line-height: 1.06;

    letter-spacing: -0.035em;
}

.nxt-hero-content h1 a:hover {
    color: var(--nxt-accent);
}

.nxt-hero-content p {
    max-width: 750px;

    margin: 0 0 12px;

    color: var(--nxt-muted);

    font-size: 16px;
}

.nxt-hero-content time,
.nxt-card-content time,
.nxt-side-story-content time {
    color: var(--nxt-muted);

    font-size: 11px;
}


/* =========================================================
   SIDE STORIES
========================================================= */

.nxt-hero-side {
    display: flex;
    flex-direction: column;

    border-top: 1px solid var(--nxt-border);
}

.nxt-side-story {
    display: grid;

    grid-template-columns: 150px minmax(0, 1fr);

    gap: 15px;

    padding: 18px 0;

    border-bottom: 1px solid var(--nxt-border);
}

.nxt-side-story-image {
    display: block;

    overflow: hidden;

    background: var(--nxt-light);
}

.nxt-side-story-image img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;

    transition: transform 0.3s ease;
}

.nxt-side-story:hover .nxt-side-story-image img {
    transform: scale(1.04);
}

.nxt-side-story-content h2 {
    margin: 0 0 7px;

    color: var(--nxt-black);

    font-family: var(--nxt-serif);

    font-size: 20px;
    line-height: 1.16;

    letter-spacing: -0.015em;
}

.nxt-side-story-content h2 a:hover {
    color: var(--nxt-accent);
}


/* =========================================================
   SECTIONS
========================================================= */

.nxt-section {
    padding: 42px 0;
}

.nxt-section-title {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    margin-bottom: 25px;
    padding-bottom: 12px;

    border-bottom: 2px solid var(--nxt-black);
}

.nxt-section-title h2 {
    margin: 0;

    color: var(--nxt-black);

    font-family: var(--nxt-serif);

    font-size: 29px;
    line-height: 1.1;

    letter-spacing: -0.025em;
}

.nxt-section-title > a {
    color: var(--nxt-accent);

    font-size: 11px;
    font-weight: 900;

    letter-spacing: 0.05em;
    text-transform: uppercase;
}


/* =========================================================
   LATEST NEWS GRID
========================================================= */

.nxt-news-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 28px;
}


/* =========================================================
   GENERIC NEWS CARDS
========================================================= */

.nxt-card {
    min-width: 0;
}

.nxt-card-image {
    display: block;

    overflow: hidden;

    background: var(--nxt-light);
}

.nxt-card-image img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;

    transition: transform 0.35s ease;
}

.nxt-card:hover .nxt-card-image img {
    transform: scale(1.035);
}

.nxt-card-content {
    padding-top: 12px;
}

.nxt-card-title {
    margin: 0 0 8px;

    color: var(--nxt-black);

    font-family: var(--nxt-serif);

    font-size: 21px;
    line-height: 1.18;

    letter-spacing: -0.015em;
}

.nxt-card-title a:hover {
    color: var(--nxt-accent);
}


/* =========================================================
   CATEGORY SECTION
========================================================= */

.nxt-category-section {
    border-top: 1px solid var(--nxt-border);
}

.nxt-category-grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 25px;
}


/* =========================================================
   MOST READ
========================================================= */

.nxt-most-read-section {
    background: var(--nxt-light);
}

.nxt-most-read-list {
    display: grid;

    grid-template-columns:
        repeat(5, minmax(0, 1fr));

    gap: 0;
}

.nxt-most-read-item {
    min-width: 0;

    padding: 20px;

    border-right: 1px solid var(--nxt-border);
}

.nxt-most-read-item:last-child {
    border-right: 0;
}

.nxt-most-read-number {
    display: block;

    margin-bottom: 20px;

    color: var(--nxt-accent);

    font-size: 34px;
    font-weight: 900;

    line-height: 1;
}

.nxt-most-read-item h3 {
    margin: 0;

    color: var(--nxt-black);

    font-family: var(--nxt-serif);

    font-size: 18px;
    line-height: 1.2;
}

.nxt-most-read-item h3 a:hover {
    color: var(--nxt-accent);
}


/* =========================================================
   FOOTER
========================================================= */

.nxt-footer {
    margin-top: 0;

    background: var(--nxt-black);
    color: #ffffff;
}

.nxt-footer-main {
    display: grid;

    grid-template-columns:
        2fr
        1fr
        1fr
        1fr;

    gap: 50px;

    padding: 65px 0 50px;
}

.nxt-footer-brand {
    max-width: 430px;
}

.nxt-footer-logo {
    display: inline-block;

    margin-bottom: 12px;

    color: #ffffff;

    font-size: 30px;
    font-weight: 900;

    letter-spacing: -0.04em;
}

.nxt-footer-brand p {
    margin: 0 0 10px;

    color: #bbbbbb;

    font-size: 13px;
}

.nxt-footer-description {
    max-width: 390px;
}

.nxt-footer-column h3 {
    margin: 0 0 16px;

    color: #ffffff;

    font-size: 12px;
    font-weight: 800;

    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.nxt-footer-column ul {
    margin: 0;
    padding: 0;

    list-style: none;
}

.nxt-footer-column li {
    margin-bottom: 9px;
}

.nxt-footer-column a {
    color: #aaaaaa;

    font-size: 13px;

    transition: color 0.2s ease;
}

.nxt-footer-column a:hover {
    color: #ffffff;
}

.nxt-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    padding: 20px 0;

    border-top: 1px solid #333333;
}

.nxt-footer-bottom p {
    margin: 0;

    color: #888888;

    font-size: 11px;
}


/* =========================================================
   NO CONTENT
========================================================= */

.nxt-no-content {
    padding: 100px 0;

    text-align: center;
}

.nxt-no-content h1 {
    font-family: var(--nxt-serif);
}


/* =========================================================
   WORDPRESS
========================================================= */

.wp-caption {
    max-width: 100%;
}

.aligncenter {
    margin-right: auto;
    margin-left: auto;
}

.screen-reader-text {
    position: absolute;

    width: 1px;
    height: 1px;

    padding: 0;
    margin: -1px;

    overflow: hidden;
    clip: rect(0, 0, 0, 0);

    white-space: nowrap;

    border: 0;
}


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

@media (max-width: 1000px) {

    .nxt-primary-menu {
        gap: 15px;
        overflow-x: auto;
    }

    .nxt-primary-menu a {
        font-size: 11px;
    }

    .nxt-hero-grid {
        grid-template-columns: 1fr;
    }

    .nxt-hero-side {
        display: grid;

        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 0 20px;
    }

    .nxt-news-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .nxt-category-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .nxt-most-read-list {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .nxt-most-read-item {
        border-bottom: 1px solid var(--nxt-border);
    }

    .nxt-footer-main {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }
}


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

@media (max-width: 700px) {

    .nxt-container {
        width: min(calc(100% - 24px), var(--nxt-container));
    }

    .nxt-topbar-inner {
        min-height: 32px;
    }

    .nxt-topbar-date {
        font-size: 10px;
    }

    .nxt-topbar-links {
        display: none;
    }

    .nxt-brandbar-inner {
        min-height: 82px;
    }

    .nxt-logo-main {
        font-size: 38px;
    }

    .nxt-logo-media {
        font-size: 15px;
    }

    .nxt-brand-tagline {
        display: none;
    }

    .nxt-mobile-menu-button {
        display: block;
    }

    .nxt-navigation {
        display: none;
    }

    .nxt-breaking-inner {
        min-height: 38px;
    }

    .nxt-breaking-label {
        font-size: 10px;
        padding-right: 18px;
    }

    .nxt-breaking-list {
        gap: 20px;
    }

    .nxt-breaking-list a {
        max-width: 260px;
        font-size: 11px;
    }

    .nxt-hero-section {
        padding-top: 25px;
    }

    .nxt-hero-content h1 {
        font-size: 34px;
    }

    .nxt-hero-content p {
        font-size: 14px;
    }

    .nxt-hero-side {
        display: flex;
    }

    .nxt-side-story {
        grid-template-columns: 115px minmax(0, 1fr);
        gap: 12px;
    }

    .nxt-side-story-content h2 {
        font-size: 17px;
    }

    .nxt-section {
        padding: 32px 0;
    }

    .nxt-section-title {
        margin-bottom: 18px;
    }

    .nxt-section-title h2 {
        font-size: 25px;
    }

    .nxt-news-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .nxt-category-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .nxt-card-title {
        font-size: 20px;
    }

    .nxt-most-read-list {
        grid-template-columns: 1fr;
    }

    .nxt-most-read-item {
        display: grid;

        grid-template-columns: 45px minmax(0, 1fr);

        gap: 15px;

        padding: 18px 0;

        border-right: 0;
    }

    .nxt-most-read-number {
        margin: 0;
    }

    .nxt-footer-main {
        grid-template-columns: 1fr;
        gap: 30px;

        padding: 45px 0 35px;
    }

    .nxt-footer-bottom {
        align-items: flex-start;
        flex-direction: column;
    }
}


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

@media (max-width: 420px) {

    .nxt-hero-content h1 {
        font-size: 30px;
    }

    .nxt-side-story {
        grid-template-columns: 100px minmax(0, 1fr);
    }

    .nxt-side-story-content h2 {
        font-size: 16px;
    }
}


/* =========================================================
   POLITICS DROPDOWN MENU
   ========================================================= */

.nxt-primary-menu > li.menu-item-has-children {
    position: relative;
}

.nxt-primary-menu > li.menu-item-has-children > a::after {
    content: " \25BE";
    font-size: 10px;
    margin-left: 4px;
}

.nxt-primary-menu .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 9999;

    min-width: 190px;
    margin: 0;
    padding: 8px 0;

    background: #ffffff;
    border: 1px solid #dddddd;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);

    list-style: none;

    opacity: 0;
    visibility: hidden;
    transform: translateY(5px);

    transition:
        opacity 0.2s ease,
        visibility 0.2s ease,
        transform 0.2s ease;
}

.nxt-primary-menu > li.menu-item-has-children:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nxt-primary-menu .sub-menu li {
    margin: 0;
    padding: 0;
}

.nxt-primary-menu .sub-menu a {
    display: block;

    padding: 10px 16px;

    color: #111111;
    font-size: 12px;
    font-weight: 700;

    text-transform: uppercase;
    white-space: nowrap;
}

.nxt-primary-menu .sub-menu a:hover {
    color: #d71920;
    background: #f5f5f5;
}
/* =========================================================
   NXT MEDIA - FOOTER SOCIAL ICONS
   ========================================================= */

.nxt-footer-social {
    padding: 25px 35px 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    text-align: center;
}

.nxt-footer-social h3 {
    margin: 0 0 18px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #ffffff;
}

.nxt-social-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.nxt-social-link {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.25s ease;
}

.nxt-social-link svg {
    width: 20px;
    height: 20px;
    display: block;
    fill: currentColor;
}

.nxt-social-link:hover {
    background: #d71920;
    border-color: #d71920;
    color: #ffffff;
    transform: translateY(-3px);
}

@media (max-width: 600px) {

    .nxt-footer-social {
        padding: 22px 20px 25px;
    }

    .nxt-social-links {
        gap: 10px;
    }

    .nxt-social-link {
        width: 40px;
        height: 40px;
    }

    .nxt-social-link svg {
        width: 19px;
        height: 19px;
    }

}
/* =========================================================
   MOBILE MENU + SEARCH FIX
   All layout changes apply only at 700px and below.
========================================================= */

/* Submenu tap buttons are created by the menu script; never shown on desktop */
.nxt-submenu-toggle {
    display: none;
}

@media (max-width: 700px) {

    /* Bring the nav bar back as a slim Home + Search row */
    .nxt-navigation {
        display: block;
    }

    .nxt-navigation-inner {
        flex-wrap: wrap;
        gap: 10px;
        min-height: 0;
        padding: 8px 0;
    }

    .nxt-home-link {
        margin-right: 0;
    }

    /* Search: always visible on mobile */
    .nxt-search-form {
        display: flex;
        align-items: center;
        flex: 1;
        min-width: 0;
        border: 1px solid var(--nxt-border);
    }

    .nxt-search-input {
        flex: 1;
        min-width: 0;
        height: 38px;
        padding: 0 10px;
        border: 0;
        background: transparent;
        font-size: 16px; /* 16px stops iPhones zooming in on tap */
    }

    .nxt-search-button {
        width: 38px;
        height: 38px;
    }

    /* Menu list: hidden until the hamburger is tapped */
    .nxt-menu-wrapper {
        display: none;
        flex: 0 0 100%;
        order: 3;
    }

    .nxt-header.nxt-menu-open .nxt-menu-wrapper {
        display: block;
    }

    .nxt-primary-menu {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        overflow: visible;
    }

    .nxt-primary-menu li {
        position: relative;
        border-top: 1px solid var(--nxt-border);
    }

    .nxt-primary-menu a {
        padding: 13px 0;
        font-size: 13px;
    }

    /* Replace the desktop arrow with a tappable button */
    .nxt-primary-menu > li.menu-item-has-children > a::after {
        content: none;
    }

    .nxt-primary-menu > li.menu-item-has-children > a {
        padding-right: 50px;
    }

    .nxt-submenu-toggle {
        display: block;
        position: absolute;
        top: 0;
        right: 0;
        width: 44px;
        height: 44px;
        padding: 0;
        border: 0;
        background: transparent;
        color: var(--nxt-black);
        font-size: 14px;
        transition: transform 0.2s ease;
    }

    .nxt-submenu-open > .nxt-submenu-toggle {
        transform: rotate(180deg);
    }

    /* Politics submenu: stacked and opened by tap, not hover */
    .nxt-primary-menu .sub-menu {
        display: none;
        position: static;
        min-width: 0;
        padding: 0 0 8px 16px;
        border: 0;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        transition: none;
    }

    .nxt-primary-menu li.nxt-submenu-open > .sub-menu {
        display: block;
    }

    .nxt-primary-menu .sub-menu li {
        border-top: 0;
    }

    .nxt-primary-menu .sub-menu a {
        padding: 10px 0;
    }
}


/* =========================================================
   TABLET + TOUCH SCREEN FIXES
   - Tablet (701px-1000px): the menu wraps instead of scrolling
     sideways, so the Politics dropdown is no longer clipped and
     every menu item is visible.
   - Touch screens wider than 700px (tablets, iPads): Politics
     gets a tap button, because touch screens cannot hover.
   Desktop computers with a mouse (1001px and wider) are unchanged.
========================================================= */

@media (min-width: 701px) and (max-width: 1000px) {

    .nxt-primary-menu {
        flex-wrap: wrap;
        overflow: visible;
        row-gap: 0;
    }

    .nxt-search-input {
        width: 150px;
    }
}

@media (hover: none) and (min-width: 701px) {

    .nxt-primary-menu > li.menu-item-has-children > a::after {
        content: none;
    }

    .nxt-primary-menu > li.menu-item-has-children > a {
        padding-right: 22px;
    }

    .nxt-primary-menu .nxt-submenu-toggle {
        display: block;
        position: absolute;
        top: 50%;
        right: -8px;
        width: 30px;
        height: 30px;
        padding: 0;
        border: 0;
        background: transparent;
        color: var(--nxt-black);
        font-size: 11px;
        transform: translateY(-50%);
        transition: transform 0.2s ease;
    }

    .nxt-primary-menu > li.nxt-submenu-open > .nxt-submenu-toggle {
        transform: translateY(-50%) rotate(180deg);
    }

    /* Touch screens: open by tap only (stops "sticky hover" keeping it open) */
    .nxt-primary-menu > li.menu-item-has-children:hover > .sub-menu {
        opacity: 0;
        visibility: hidden;
        transform: translateY(5px);
    }

    .nxt-primary-menu > li.menu-item-has-children.nxt-submenu-open > .sub-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
}