.navbar-wide .navbar-box {
    display: flex;
    gap: 16px 10px;
    align-items: center;
    justify-content: flex-end;
}

.navbar-wide .navbar-box label {
    margin: 0;
}

.navbar-wide .search-box {
    position: relative;
    width: 100%;
    max-width: 15em;
    background: #ffffff;
    border-radius: 10px;
    padding: 14px 18px 14px 45px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
    display: flex;
    align-items: center;
    max-height: 49px;
    margin: auto;
}

.navbar-wide .search-box input {
    border: none;
    outline: none;
    width: 100%;
    font-size: 18px;
    color: #444;
    background: transparent;
}

.navbar-wide .search-box input::placeholder {
    color: #999;
}

.navbar-wide .search-icon {
    position: absolute;
    left: 18px;
    font-size: 20px;
    color: #7b4dff;
}

.navbar-wide .marquee-js {
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    padding: 11px 0;
    width: 15em;
    background: #e2e3ff;
    border-radius: 10px;
    color: var(--accent);
    font-size: 18px;
    display: inline-flex;
    margin: auto;
}

.navbar-wide .marquee-js .track {
    display: inline-block;
    will-change: transform;
    white-space: nowrap;
}

.navbar-wide .fa-dot {
    padding: 0 16px 0 10px;
    width: 8px;
    position: relative;
}

.navbar-wide .fa-dot::before {
    content: "";
    background-color: var(--accent);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    position: absolute;
    bottom: 40%;
}

.logo-small img {
    height: 49px;
}

.menu-sidenav-menu-container {
    max-width: 200px;
    background-color: #fff;
    padding: 12px 16px;
    border-radius: 10px;
}

.menu-sidenav-menu-container ul > li:nth-child(1) {
    font-size: 24px;
    font-weight: 600;
}

.sidenav-nav-container {
    padding: 0;
    width: 200px;
}

#page-content-wrapper {
    min-width: 0;
}

#sidebar {
    min-width: 220px;
    max-width: 220px;
    margin-right: 24px;
}

.events-block {
    margin: 0 0 24px;
    width: 100%;
    background: #fff;
    display: flex;
    gap: 16px;
    padding: 16px;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.events-block::after {
    width: 40%;
    background: linear-gradient(260deg, #ffffff 20%, rgba(255, 255, 255, 0) 100%);
    content: "";
    position: absolute;
    height: 100%;
    right: 0;
    pointer-events: none;
    top: 0;
}

.events-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-direction: column;
    white-space: nowrap;
    text-align: left;
    height: 100%;
}

.events-header h2 {
    font-size: 28px;
    margin: 0;
}

.events-all {
    color: #6a4dfd;
    text-decoration: none;
    font-weight: 500;
}

.events-list {
    display: flex;
    gap: 20px;
    flex-wrap: nowrap;
}

.event-item {
    flex: 1;
    background: var(--bg-light);
    border-radius: 10px;
    padding: 12px 16px;
    text-decoration: none;
    color: #000;
    transition: 0.25s;
    flex-basis: 38%;
    flex-shrink: 0;
    display: flex;
    gap: 0 10px;
    flex-wrap: wrap;
    height: 81px;
    max-width: 340px;
}

.event-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.event-title {
    width: 100%;
    font-weight: 600;
}

.event-date,
.event-venue {
    font-size: 14px;
    opacity: 0.8;
}

.main-banner img {
    object-fit: cover;
    object-position: top center;
}

.block {
    background: var(--white);
    padding: 16px;
    border-radius: 10px !important;
}

.header-bar {
    background-color: var(--accent);
    font-size: 24px;
    padding: 16px;
    color: #fff;
    border-radius: 10px;
    font-weight: 500;
}

.main-prev,
.main-next {
    width: 36px;
    height: 36px;
    background-color: #7f63f4 !important;
    color: #fff !important;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 10px;
}

.main-prev:hover,
.main-next:hover {
    opacity: 0.9;
}

.mainSwiper .swiper-slide {
    height: auto;
}

.article-feed .card {
    border-radius: 10px;
}

.card .description,
.card h5 {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.card h5 {
    margin-bottom: 16px;
}

.card .date {
    font-size: 14px;
    margin-bottom: 16px;
}

.card img.card-img-top {
    border-radius: 10px 10px 0 0 !important;
}

.card-body {
    background-color: var(--white);
    border-radius: 0 0 10px 10px;
    padding: 16px;
    min-height: 14.2em;
}

.card .fa {
    color: var(--accent);
    margin-right: 8px;
}

.rating-block {
    cursor: pointer;
    padding-right: 0;
    display: flex;
    flex-direction: row-reverse;
}

.rating-block .table thead th {
    border: 0;
}

#event-vote {
    display: none;
}

.admin-bar #event-vote {
    display: block;
}

.partner-vote {
    margin-top: 0;
}

.partner-vote-btn {
    margin: 0;
    background: #00000005;
    width: auto;
    aspect-ratio: 1 / 1;
    height: 100%;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 3px solid var(--white);
    padding: 3px 10px;
    cursor: pointer;
    border-radius: 5px;
    font-size: 16.5px;
    transition: all 0.2s ease;
    color: var(--accent);
}

.partner-vote-btn::before {
    content: "";
    display: inline-block;
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
}

.partner-vote-btn[data-vote="like"]::before {
    border-bottom: 10px solid currentColor;
}

.partner-vote-btn[data-vote="dislike"]::before {
    border-top: 10px solid currentColor;
}

.partner-vote-btn.active,
.partner-vote-btn:hover {
    background: var(--accent);
    color: #fff;
}

.current[data-vote="like"] {
    border-color: greenyellow;
}

.current[data-vote="dislike"] {
    border-color: red;
}

.partner-vote-result {
    margin-top: 5px;
}

.vote_count {
    cursor: default !important;
    min-width: 4rem;
}

.vote_count:hover {
    color: inherit;
    cursor: default;
}

.rating-block button {
    color: #8f8f8f;
}

.partners-services-post .dashicons-admin-page,
.partners-services-post .dashicons-admin-page::before {
    height: 18px;
    font-size: 18px;
}

.copy-promo {
    height: 29px;
}

.wp-night-mode-on .card,
.wp-night-mode-on .dark-bg {
    background-color: #272727 !important;
    color: #e4e4e4 !important;
    border-color: #333 !important;
}

.wp-night-mode-on .card:hover {
    background-color: #2b2b2b !important;
}

.wp-night-mode-on .table {
    color: #ddd !important;
}

.wp-night-mode-on .table thead tr {
    color: #aaa !important;
}

.wp-night-mode-on .text-muted {
    color: #bbb !important;
}

.wp-night-mode-on .main-prev,
.wp-night-mode-on .main-next {
    background-color: #9b82ff !important;
}

.wp-night-mode-on .swiper-button-disabled {
    opacity: 0.4 !important;
}

body.wp-night-mode-on a.events-all:link,
body.wp-night-mode-on a.events-all:visited {
    background: var(--dark-bg-border);
    padding: 3px 16px;
    border-radius: 10px;
}

@media (max-width: 1100px) {
    body .main-banner img {
        aspect-ratio: 16 / 9;
        border-radius: 10px;
    }
}

@media (max-width: 991px) {
    .navbar:not(.navbar-wide) .logores {
        display: none !important;
    }

    .navbar-logo {
        left: 2.5em;
    }

    .navbar-logo-left {
        left: 1rem;
    }

    .navbar-logo-center {
        left: 3em;
        position: absolute;
    }

    .navigation-sticky-top {
        position: unset;
    }

    .searchpop {
        display: none;
    }
}

@media (max-width: 800px) {
    .events-list {
        overflow: auto;
    }

    .rating-card-wrapper {
        padding: 0 0 16px;
    }
}

@media (max-width: 660px) {
    .navbar-wide .search-box {
        display: none;
    }
}

@media (max-width: 570px) {
    .main-b {
        display: none !important;
    }
}

/* Home-wide layout rules restored from the live template snapshot. */
.main-swiper-wrapper {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    padding-bottom: 8px;
    margin: 0;
}

.main-swiper-wrapper .swiper,
.main-swiper-wrapper .swiper-wrapper {
    margin: 0;
    padding: 0;
}

.mainSwiper .swiper-slide {
    min-width: 0;
    flex-shrink: 0;
    width: auto !important;
    padding: 0 8px;
    box-sizing: border-box;
    height: auto !important;
}

@media (max-width: 991px) {
    .mainSwiper .swiper-slide {
        width: 100% !important;
        padding: 0;
    }
}

@media (min-width: 992px) {
    .mainSwiper .swiper-slide {
        width: calc((100% - 16px) / 2) !important;
    }
}
