:root {
    --wpnd-mhpro-background-color: #ffffff;
    --wpnd-mhpro-text-light-color: #ffffff;
    --wpnd-mhpro-text-dark-color: #2f3e2e;
    --wpnd-mhpro-text-color: #2f3e2e;
    --wpnd-mhpro-title-color: #111827;
    --wpnd-mhpro-title-mute-color: #334155;
    --wpnd-mhpro-primary-color: #882ce1;
    --wpnd-mhpro-primary-hover-color: #7223be;
    --wpnd-mhpro-primary-soft-bg-color: #fbf8fd;
    --wpnd-mhpro-secondary-color: #2f3e2e;
    --wpnd-mhpro-secondary-hover-color: #263224;
    --wpnd-mhpro-mute-color: #e9e6eb;
    --wpnd-mhpro-mute-text-color: #5f6e5b;
    --wpnd-mhpro-pro-color: #d4af37;
    --wpnd-mhpro-danger-color: #dc3545;
    --wpnd-mhpro-danger-hover-color: #c82333;
}

.wpnd-mhpro-dark-mode {
    --wpnd-mhpro-dark-background-color: #121212;
    --wpnd-mhpro-dark-text-color: #ffffff;
    --wpnd-mhpro-dark-primary-color: #1abc9c;
}

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

.wpnd-mhpro-section-style img {
    height: auto;
    max-width: 100%;
}

.wpnd-mhpro-section-style a {
    text-decoration: none;
}

/*
* Style for input fields.
*/
.wpnd-mhpro-section-style input[type="text"],
.wpnd-mhpro-section-style input[type="email"],
.wpnd-mhpro-section-style input[type="number"],
.wpnd-mhpro-section-style input[type="password"],
.wpnd-mhpro-section-style input[type="tel"],
.wpnd-mhpro-section-style input[type="url"],
.wpnd-mhpro-section-style input[type="date"],
.wpnd-mhpro-section-style input[type="datetime-local"],
.wpnd-mhpro-section-style input[type="month"],
.wpnd-mhpro-section-style input[type="week"],
.wpnd-mhpro-section-style input[type="time"],
.wpnd-mhpro-section-style input[type="search"],
.wpnd-mhpro-section-style input[type="color"],
.wpnd-mhpro-section-style input[type="file"],
.wpnd-mhpro-section-style input[type="datetime"],
.wpnd-mhpro-section-style input[type="datetime-local"],
.wpnd-mhpro-section-style input[type="range"],
.wpnd-mhpro-section-style textarea,
.wpnd-mhpro-section-style select,
.wpnd-mhpro-section-style button {
    font-size: 1rem;
    line-height: 1.5;
    color: var(--wpnd-mhpro-title-color);
    background-color: var(--wpnd-mhpro-background-color);
    border: 1px solid var(--wpnd-mhpro-mute-color);
    padding: 1rem;
    margin-bottom: 0.65rem;
    border-radius: 8px;
    box-sizing: border-box;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    width: 100%;
    max-width: 100%;
}

.wpnd-mhpro-section-style input[type="text"]:focus,
.wpnd-mhpro-section-style input[type="email"]:focus,
.wpnd-mhpro-section-style input[type="number"]:focus,
.wpnd-mhpro-section-style input[type="password"]:focus,
.wpnd-mhpro-section-style input[type="tel"]:focus,
.wpnd-mhpro-section-style input[type="url"]:focus,
.wpnd-mhpro-section-style input[type="date"]:focus,
.wpnd-mhpro-section-style input[type="datetime-local"]:focus,
.wpnd-mhpro-section-style input[type="month"]:focus,
.wpnd-mhpro-section-style input[type="week"]:focus,
.wpnd-mhpro-section-style input[type="time"]:focus,
.wpnd-mhpro-section-style input[type="search"]:focus,
.wpnd-mhpro-section-style input[type="color"]:focus,
.wpnd-mhpro-section-style input[type="file"]:focus,
.wpnd-mhpro-section-style input[type="datetime"]:focus,
.wpnd-mhpro-section-style input[type="datetime-local"]:focus,
.wpnd-mhpro-section-style input[type="range"]:focus,
.wpnd-mhpro-section-style input:focus,
.wpnd-mhpro-section-style textarea:focus,
.wpnd-mhpro-section-style select:focus {
    outline: none;
    border-color: var(--wpnd-mhpro-primary-color);
    box-shadow: 0 0 0 2px rgba(136, 44, 225, 0.2);
}

.wpnd-mhpro-section-style input:disabled,
.wpnd-mhpro-section-style textarea:disabled,
.wpnd-mhpro-section-style select:disabled {
    background-color: var(--wpnd-mhpro-primary-soft-bg-color);
    cursor: not-allowed;
}

.wpnd-mhpro-section-style textarea {
    min-height: 120px;
    resize: vertical;
}

.wpnd-mhpro-section-style select {
    appearance: none;
    background-image: url('data:image/svg+xml;utf8,<svg fill="%23333" height="20" viewBox="0 0 20 20" width="20" xmlns="http://www.w3.org/2000/svg"><path d="M7 7l3-3 3 3z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 0.75em center;
    background-size: 1rem;
    padding-right: 2rem;
}

.wpnd-mhpro-section-style input[type="checkbox"],
.wpnd-mhpro-section-style input[type="radio"] {
    width: auto;
    margin-right: 0.5rem;
    vertical-align: middle;
    outline: none;
    box-shadow: none;
}

/* Custom checkbox style */
.wpnd-mhpro-section-style input[type="checkbox"] {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid var(--wpnd-mhpro-primary-color);
    border-radius: 4px;
    cursor: pointer;
    position: relative;
}

.wpnd-mhpro-section-style input[type="checkbox"]:checked {
    background-color: var(--wpnd-mhpro-primary-color);
    border-color: var(--wpnd-mhpro-primary-color);
}

.wpnd-mhpro-section-style input[type="checkbox"]:checked::after {
    content: "✔";
    color: var(--wpnd-mhpro-background-color);
    position: absolute;
    left: 2px;
    top: -1px;
    font-size: 14px;
}

/* Custom radio style */
.wpnd-mhpro-section-style input[type="radio"] {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid var(--wpnd-mhpro-primary-color);
    background: var(--wpnd-mhpro-background-color);
    border-radius: 50%;
    cursor: pointer;
    position: relative;
}

.wpnd-mhpro-section-style input[type="radio"]:checked::after {
    content: "";
    width: 10px;
    height: 10px;
    background: var(--wpnd-mhpro-primary-color);
    border-radius: 50%;
    position: absolute;
    top: 2px;
    left: 2px;
}

.wpnd-mhpro-section-style label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.wpnd-mhpro-section-style button,
.wpnd-mhpro-section-style input[type="submit"],
.wpnd-mhpro-section-style input[type="button"] {
    cursor: pointer;
    background-color: var(--wpnd-mhpro-primary-color);
    color: var(--wpnd-mhpro-background-color);
    border: none;
    padding: 0.6em 1.2rem;
    border-radius: 4px;
    font-weight: 600;
    transition: background-color 0.2s ease;
}

.wpnd-mhpro-section-style button:hover,
.wpnd-mhpro-section-style input[type="submit"]:hover,
.wpnd-mhpro-section-style input[type="button"]:hover {
    background-color: var(--wpnd-mhpro-primary-hover-color);
}

/* Filters param display styles. */
.wpnd-mhpro-filters-data-display-selected {
    display: block;
    margin: 50px 0 30px 0;
}

.wpnd-mhpro-selected-param {
    display: inline-block;
    background: var(--wpnd-mhpro-mute-color);
    padding: 5px 12px;
    margin: 0 5px 10px 0;
    border-radius: 30px;
    font-size: 15px;
    font-weight: 500;
    text-transform: capitalize;
}

.wpnd-mhpro-selected-param i {
    margin-left: 5px;
    cursor: pointer;
    font-size: 13px;
}

.wpnd-mhpro-selected-param:hover i {
    color: var(--wpnd-mhpro-danger-color);
}

/**
 * Plugin grid styles.
 */
.wpnd-mhpro-container {
    width: 100%;
    margin-right: auto;
    margin-left: auto;
    padding-right: 1rem;
    padding-left: 1rem;
    max-width: 1200px;
}

/* Row */
.wpnd-mhpro-row {
    display: flex;
    flex-wrap: wrap;
    margin: auto;
    width: 100%;
}

/* Row with gutter */
.wpnd-mhpro-row-gutter {
    margin-right: -0.5rem;
    margin-left: -0.5rem;
}

/* Columns */
[class*="wpnd-mhpro-col-"] {
    padding-right: 0.5rem;
    padding-left: 0.5rem;
    flex-grow: 1;
}

/* Default column takes full width */
.wpnd-mhpro-col {
    flex: 1 0 0%;
    max-width: 100%;
}

/* Columns for specific sizes */
.wpnd-mhpro-col-1 {
    flex: 0 0 8.333%;
    max-width: 8.333%;
}

.wpnd-mhpro-col-2 {
    flex: 0 0 16.666%;
    max-width: 16.666%;
}

.wpnd-mhpro-col-3 {
    flex: 0 0 25%;
    max-width: 25%;
}

.wpnd-mhpro-col-4 {
    flex: 0 0 33.333%;
    max-width: 33.333%;
}

.wpnd-mhpro-col-5 {
    flex: 0 0 41.666%;
    max-width: 41.666%;
}

.wpnd-mhpro-col-6 {
    flex: 0 0 50%;
    max-width: 50%;
}

.wpnd-mhpro-col-7 {
    flex: 0 0 58.333%;
    max-width: 58.333%;
}

.wpnd-mhpro-col-8 {
    flex: 0 0 66.666%;
    max-width: 66.666%;
}

.wpnd-mhpro-col-9 {
    flex: 0 0 75%;
    max-width: 75%;
}

.wpnd-mhpro-col-10 {
    flex: 0 0 83.333%;
    max-width: 83.333%;
}

.wpnd-mhpro-col-11 {
    flex: 0 0 91.666%;
    max-width: 91.666%;
}

.wpnd-mhpro-col-12 {
    flex: 0 0 100%;
    max-width: 100%;
}

/**
 * Block header styles.
 */
.wpnd-mhpro-header-container {
    border-bottom: 1px solid var(--wpnd-mhpro-mute-color);
    margin-bottom: 3rem;
    align-items: center;
}

.wpnd-mhpro-shortcode-header {
    text-align: center;
    border-bottom: 0 solid var(--wpnd-mhpro-mute-color);
}

.wpnd-mhpro-shortcode-header h2 {
    font-size: 2.5rem;
    line-height: 1.5;
    font-weight: 700;
    color: var(--wpnd-mhpro-title-color);
    margin-bottom: 10px;
}

.wpnd-mhpro-shortcode-header p {
    font-size: 1rem;
    line-height: 1.5;
    color: var(--wpnd-mhpro-title-mute-color);
}

/**
 * Base styles for loop items.
 */
.wpnd-mhpro-section-style .wpnd-mhpro-post-item {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
    background-color: #fff;
    border: 1px solid #e1e1e1;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.wpnd-mhpro-section-style .wpnd-mhpro-post-item:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.wpnd-mhpro-section-style .swiper-wrapper .wpnd-mhpro-post-item {
    margin-bottom: 0;
}

.wpnd-mhpro-section-style .wpnd-mhpro-post-item-media {
    position: relative;
    overflow: hidden;
    background-color: transparent;
}

.wpnd-mhpro-section-style .wpnd-mhpro-post-item-media {
    padding: 0;
}

.wpnd-mhpro-section-style .wpnd-mhpro-term-title,
.wpnd-mhpro-section-style .wpnd-mhpro-post-title {
    padding: 1rem 1rem 1rem 1rem;
}

.wpnd-mhpro-section-style .wpnd-mhpro-term-title {
    padding-bottom: 0;
}

.wpnd-mhpro-section-style .wpnd-mhpro-post-item-meta {
    padding: 0 1rem 0 1rem;
}

.wpnd-mhpro-section-style .wpnd-mhpro-term-description,
.wpnd-mhpro-section-style .wpnd-mhpro-post-item-excerpt {
    padding: 1rem 1rem 0 1rem;
    font-size: 0.95rem;
    line-height: 1.5;
}

.wpnd-mhpro-section-style .wpnd-mhpro-term-title,
.wpnd-mhpro-section-style .wpnd-mhpro-post-title,
.wpnd-mhpro-section-style .wpnd-mhpro-term-title a,
.wpnd-mhpro-section-style .wpnd-mhpro-post-title a {
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--wpnd-mhpro-title-color);
    text-decoration: none;
    margin: 0;
    transition: color 0.3s ease;
}

.wpnd-mhpro-section-style .wpnd-mhpro-term-title a:hover,
.wpnd-mhpro-section-style .wpnd-mhpro-post-title a:hover {
    color: var(--wpnd-mhpro-primary-color);
}

.wpnd-mhpro-section-style .wpnd-mhpro-author-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.wpnd-mhpro-author-info .author-avatar {
    border-radius: 50%;
    max-width: 35px;
}

.wpnd-mhpro-author-right-content .author-name {
    color: var(--wpnd-mhpro-title-mute-color);
    font-weight: 600;
    font-size: 0.9rem;
    font-style: normal;
    line-height: 1.4;
    text-decoration: none;
}

.wpnd-mhpro-section-style .wpnd-mhpro-post-info,
.wpnd-mhpro-section-style .wpnd-mhpro-post-info a {
    color: var(--wpnd-mhpro-title-mute-color);
    font-size: 0.9rem;
    line-height: 1.4;
    margin: 0;
    padding: 0;
    list-style: none;
    text-decoration: none;
}

.wpnd-mhpro-section-style .wpnd-mhpro-post-info a:hover,
.wpnd-mhpro-author-right-content .author-name:hover {
    color: var(--wpnd-mhpro-primary-color);
}

.wpnd-mhpro-section-style .wpnd-mhpro-post-info li {
    display: inline-block;
    margin-right: 3px;
}

.wpnd-mhpro-section-style .wpnd-mhpro-post-info i {
    margin-left: -2px;
    margin-right: 1px;
}

.wpnd-mhpro-section-style .wpnd-mhpro-post-info li::after {
    content: "\2022";
    margin-left: 1px;
}

.wpnd-mhpro-section-style .wpnd-mhpro-post-info li:last-child::after {
    content: "";
}

.wpnd-mhpro-section-style .wpnd-mhpro-post-info li span {
    cursor: pointer;
}

/* Pagination Container */
.wpnd-mhpro-section-style .wpnd-mhpro-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 10px 0;
    list-style: none;
}

/**
 * Single page style.
 */
.wpnd-mhpro-section-style .wpnd-mhpro-single-page-video-player {
    margin: 3rem 0;
}

.wpnd-mhpro-section-style .wpnd-mhpro-single-page-meta .wpnd-mhpro-post-info {
    display: flex;
    align-items: center;
}

.wpnd-mhpro-section-style .wpnd-mhpro-single-page-meta .wpnd-mhpro-post-info li {
    display: flex;
    align-items: center;
    margin-right: 5px;
}

.wpnd-mhpro-section-style .wpnd-mhpro-single-page-meta .wpnd-mhpro-post-info .wpnd-mhpro-post-categories a:not(:nth-child(2)) {
    margin-left: 5px;
}

.wpnd-mhpro-section-style .wpnd-mhpro-single-page-meta .wpnd-mhpro-post-info li::after {
    margin-left: 5px;
}

.wpnd-social-share-buttons {
    display: flex;
    justify-content: left;
    gap: 10px;
    list-style: none;
    margin: 20px 0;
    padding: 0;
}

/* Pagination Items */
.wpnd-mhpro-section-style .wpnd-mhpro-pagination li {
    margin: 0;
    list-style: none;
}

/* Pagination Links */
.wpnd-mhpro-section-style .wpnd-mhpro-pagination li a,
.wpnd-mhpro-section-style .wpnd-mhpro-pagination li span {
    display: inline-block;
    padding: 8px 15px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    text-decoration: none;
    color: var(--wpnd-mhpro-title-color);
    background-color: var(--wpnd-mhpro-primary-soft-bg-color);
    border-radius: 5px;
    transition: all 0.3s ease;
    border: 1px solid var(--wpnd-mhpro-mute-color);
}

/* Hover & Active State */
.wpnd-mhpro-section-style .wpnd-mhpro-pagination li a:hover {
    background-color: var(--wpnd-mhpro-primary-hover-color);
    color: var(--wpnd-mhpro-text-light-color);
    border-color: var(--wpnd-mhpro-primary-hover-color);
}

/* Current Page */
.wpnd-mhpro-section-style .wpnd-mhpro-pagination li .current {
    background-color: var(--wpnd-mhpro-primary-color);
    color: var(--wpnd-mhpro-text-light-color);
    border-color: var(--wpnd-mhpro-primary-color);
    cursor: default;
}

/* Previous & Next Buttons */
.wpnd-mhpro-section-style .wpnd-mhpro-pagination li .prev,
.wpnd-mhpro-section-style .wpnd-mhpro-pagination li .next {
    font-size: 14px;
}

/* Disabled Previous/Next */
.wpnd-mhpro-section-style .wpnd-mhpro-pagination li .prev.disabled,
.wpnd-mhpro-section-style .wpnd-mhpro-pagination li .next.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Form Elements */
.wpnd-mhpro-form-control {
    width: 100%;
    padding: 0.5rem 1rem;
    font-size: 1rem;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.wpnd-mhpro-form-control:focus {
    border-color: #80bdff;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

/* Form Labels */
.wpnd-mhpro-form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

/* Buttons */
.wpnd-mhpro-btn,
.wpnd-mhpro-section-style .form-submit input[type="submit"] {
    display: inline-block;
    font-weight: 400;
    color: var(--wpnd-mhpro-primary-soft-bg-color);
    text-align: center;
    vertical-align: middle;
    user-select: none;
    background-color: var(--wpnd-mhpro-primary-color);
    border: 1px solid var(--wpnd-mhpro-primary-color);
    padding: 0.5rem 1rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: 0.25rem;
    height: auto;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out,
        border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.wpnd-mhpro-btn:hover,
.wpnd-mhpro-section-style .form-submit input[type="submit"]:hover {
    background-color: var(--wpnd-mhpro-primary-hover-color);
    border-color: var(--wpnd-mhpro-primary-hover-color);
}

/**
 * Archive page style.
 */
.wpnd-mhpro-archive-header {
    background: var(--wpnd-mhpro-primary-color);
    color: var(--wpnd-mhpro-text-light-color);
    padding: 50px 0;
    margin-bottom: 50px;
}

.wpnd-mhpro-archive-header h1 {
    color: var(--wpnd-mhpro-text-light-color);
}

/* Initially hide images and make them transparent */
.wpnd-mhpro-lazy {
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
}

/* When lazysizes loads the image, it adds `lazyloaded` class */
.wpnd-mhpro-lazy.lazyloaded {
    opacity: 1;
}

/**
 * Video.js video player styles.
 */
.video-js .vjs-poster img {
    object-fit: cover;
}

/* Add rounded corners to video player elements */
.wpnd-mhpro-video-player.video-js .vjs-tech,
.wpnd-mhpro-video-player.video-js.vjs-1-1:not(.vjs-audio-only-mode),
.wpnd-mhpro-video-player.video-js.vjs-16-9:not(.vjs-audio-only-mode),
.wpnd-mhpro-video-player.video-js.vjs-4-3:not(.vjs-audio-only-mode),
.wpnd-mhpro-video-player.video-js.vjs-9-16:not(.vjs-audio-only-mode),
.wpnd-mhpro-video-player.video-js.vjs-fluid:not(.vjs-audio-only-mode),
.wpnd-mhpro-video-player.video-js .vjs-poster img,
.wpnd-mhpro-post-item-media video,
.wpnd-mhpro-post-item-media img,
.wpnd-mhpro-post-item-media iframe {
    border-radius: 8px;
    background-color: var(--wpnd-mhpro-secondary-color);
    object-fit: cover;
    width: 100%;
}

.wpnd-mhpro-video-player.vjs-audio-only-mode .vjs-control-bar,
.wpnd-mhpro-video-player.vjs-has-started .vjs-control-bar,
.wpnd-mhpro-video-player.video-js .vjs-play-control {
    border-bottom-left-radius: 10px;
}

.wpnd-mhpro-video-player.vjs-audio-only-mode .vjs-control-bar,
.wpnd-mhpro-video-player.vjs-has-started .vjs-control-bar,
.wpnd-mhpro-video-player.video-js .vjs-fullscreen-control {
    border-bottom-right-radius: 10px;
}

/**
 * Single Page title and meta.
 */
.wpnd-mhpro-single-page-title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.wpnd-mhpro-single-page-meta {
    margin-bottom: 50px;
}

/**
 * Single Page tags.
 */
.wpnd-mhpro-post-content-categories a {
    background: var(--wpnd-mhpro-mute-color);
    font-size: 15px;
    font-weight: 500;
    padding: 5px 10px;
    margin: 0 4px;
    border-radius: 4px;
}

/**
 * Responsive video, iframe aspect ratio.
 */
.wpnd-mhpro-video-player-ratio {
    position: relative;
    width: 100%;
}

.wpnd-mhpro-video-player-ratio::before {
    content: "";
    display: block;
    padding-top: var(--wpnd-mhpro-video-player-aspect-ratio);
}

.wpnd-mhpro-video-player-ratio>img,
.wpnd-mhpro-video-player-ratio>* {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 8px;
}

.wpnd-mhpro-video-player-ratio-16x9 {
    --wpnd-mhpro-video-player-aspect-ratio: 56.25%;
    /* 9 / 16 */
}

.wpnd-mhpro-video-player-ratio-4x3 {
    --wpnd-mhpro-video-player-aspect-ratio: 75%;
    /* 3 / 4 */
}

.wpnd-mhpro-video-player-ratio-1x1 {
    --wpnd-mhpro-video-player-aspect-ratio: 100%;
}

.wpnd-mhpro-video-player-ratio-21x9 {
    --wpnd-mhpro-video-player-aspect-ratio: 42.8571%;
    /* 9 / 21 */
}

.wpnd-mhpro-video-player-ratio .video-js {
    position: absolute !important;
}

.wpnd-mhpro-video-player-ratio>img {
    object-fit: cover;
}

/**
 * Swiper Container Style.
 */
.wpnd-mhpro-swiper-container {
    visibility: hidden;
}

.wpnd-mhpro-swiper-container.swiper-initialized {
    visibility: visible;
}

.wpnd-mhpro-section-style {
    width: 100%;
    position: relative;
    overflow: hidden;
    padding: 0 10px;
}

.wpnd-mhpro-swiper-container {
    position: relative;
}

.wpnd-mhpro-swiper-container .wpnd-mhpro-swiper-wrapper {
    height: auto;
}

/**
 * Swiper navigation buttons style.
 */
.wpnd-mhpro-section-style .swiper-button-next,
.wpnd-mhpro-section-style .swiper-button-prev {
    background: var(--wpnd-mhpro-primary-color);
    color: var(--wpnd-mhpro-text-light-color);
    height: 3rem;
    width: 3rem;
    border: 1px solid var(--wpnd-mhpro-primary-color);
    border-radius: 50%;
}

.wpnd-mhpro-section-style .swiper-button-next:hover,
.wpnd-mhpro-section-style .swiper-button-prev:hover {
    background: var(--wpnd-mhpro-primary-hover-color);
    color: var(--wpnd-mhpro-text-light-color);
}

.wpnd-mhpro-section-style .swiper-button-next:after,
.wpnd-mhpro-section-style .swiper-button-prev:after {
    display: none;
}

/**
 * Swiper pagination style.
 */
.wpnd-mhpro-section-style .swiper-pagination {
    position: static;
    margin-top: 20px;
}

.wpnd-mhpro-section-style .swiper-pagination-bullet {
    width: 0.8rem;
    height: 0.8rem;
    background-color: var(--wpnd-mhpro-primary-color);
}

/**
 * Load more button style.
 */
.wpnd-mhpro-section-style .wpnd-mhpro-term-loadmore-btn,
.wpnd-mhpro-section-style .wpnd-mhpro-youtube-feed-load-more {
    display: inline-block;
    width: auto;
    margin: auto;
    transition: all 0.5s ease;
}

/**
 * Video Player styles.
 */
.wpnd-mhpro-video-player.video-js {
    visibility: hidden;
}

.wpnd-mhpro-video-player.video-js.vjs-has-started,
.wpnd-mhpro-video-player.video-js.vjs-paused,
.wpnd-mhpro-video-player.video-js.vjs-ended,
.wpnd-mhpro-video-player.video-js.vjs-playing {
    visibility: visible;
}

.wpnd-mhpro-video-player.video-js {
    background-color: var(--wpnd-mhpro-primary-color);
    color: var(--wpnd-mhpro-text-light-color);
}

/* Style video big play button */
.wpnd-mhpro-video-player.video-js .vjs-big-play-button {
    height: 50px;
    width: 50px;
    border-radius: 50%;
    margin-left: -25px;
    background-color: rgba(136, 44, 225, 0.3);
    border: 2px solid var(--wpnd-mhpro-text-light-color);
}

.wpnd-mhpro-video-player.video-js .vjs-big-play-button:focus,
.wpnd-mhpro-video-player.video-js:hover .vjs-big-play-button {
    background-color: rgba(136, 44, 225, 0.5);
    border-color: var(--wpnd-mhpro-text-light-color)
}

.wpnd-mhpro-video-player.video-js .vjs-big-play-button:hover {
    background-color: rgba(136, 44, 225, 0.7);
    border-color: var(--wpnd-mhpro-text-light-color)
}

/* Control Bar */
.wpnd-mhpro-video-player.video-js .vjs-control-bar {
    background: transparent;
}

.wpnd-mhpro-video-player.video-js:hover .vjs-control-bar {
    background: rgba(136, 44, 225, 0.2);
}

/* All Controls */
.wpnd-mhpro-video-player.video-js .vjs-control {
    color: var(--wpnd-mhpro-text-light-color);
}

.wpnd-mhpro-video-player.video-js .vjs-control:hover {
    color: var(--wpnd-mhpro-text-light-color);
}

/* Play Button */
.wpnd-mhpro-video-player.video-js .vjs-play-control {
    background: transparent;
}

.wpnd-mhpro-video-player.video-js .vjs-play-control:hover {
    background: var(--wpnd-mhpro-primary-color);
}

/* Mute Control */
.wpnd-mhpro-video-player.video-js .vjs-mute-control {
    background: transparent;
}

.wpnd-mhpro-video-player.video-js .vjs-mute-control:hover {
    background: var(--wpnd-mhpro-primary-color);
}

/* Volume Panel */
.wpnd-mhpro-video-player.video-js .vjs-volume-panel {
    background: transparent;
}

.wpnd-mhpro-video-player.video-js .vjs-volume-panel:hover {
    background: transparent;
}

.wpnd-mhpro-video-player.video-js .vjs-volume-level {
    background-color: var(--wpnd-mhpro-text-light-color);
    height: 5px;
    border-radius: 5px;
}

.wpnd-mhpro-video-player.video-js .vjs-volume-level:before {
    font-size: 10px;
    top: 1px;
    color: var(--wpnd-mhpro-text-light-color);
}

.wpnd-mhpro-video-player.video-js .vjs-volume-bar {
    background: var(--wpnd-mhpro-primary-hover-color);
    height: 5px;
    border-radius: 5px;
    top: -1px;
}

/* Time Display */
.wpnd-mhpro-video-player.video-js .vjs-current-time,
.wpnd-mhpro-video-player .vjs-current-time {
    color: var(--wpnd-mhpro-text-light-color);
}

.wpnd-mhpro-video-player.video-js .vjs-time-divider {
    color: var(--wpnd-mhpro-text-light-color);
}

.wpnd-mhpro-video-player.video-js .vjs-duration,
.wpnd-mhpro-video-player .vjs-duration {
    color: var(--wpnd-mhpro-text-light-color);
}

.wpnd-mhpro-video-player.video-js .vjs-time-control {
    color: var(--wpnd-mhpro-text-light-color);
    font-size: 13px;
    font-weight: 500;
    line-height: 29px;
}

/* Progress Bar */
.wpnd-mhpro-video-player.video-js .vjs-progress-control {
    background: transparent;
}

.wpnd-mhpro-video-player.video-js .vjs-progress-control .vjs-progress-holder {
    height: 5px;
    background-color: var(--wpnd-mhpro-primary-color);
    border-radius: 5px;
    margin-top: 1px;
}

.wpnd-mhpro-video-player.video-js .vjs-play-progress {
    background-color: var(--wpnd-mhpro-text-light-color);
    border-radius: 5px;
}

.wpnd-mhpro-video-player.video-js .vjs-play-progress:before {
    background: var(--wpnd-mhpro-text-light-color);
    border-radius: 50%;
    font-size: 10px;
    right: -2px;
    top: -3px;
    line-height: 1;
    color: var(--wpnd-mhpro-text-light-color);
}

.wpnd-mhpro-video-player.video-js .vjs-load-progress {
    background-color: transparent;
}

/* Captions Button */
.wpnd-mhpro-video-player.video-js .vjs-captions-button,
.wpnd-mhpro-video-player .vjs-captions-button {
    background: transparent;
}

.wpnd-mhpro-video-player.video-js .vjs-captions-button:hover,
.wpnd-mhpro-video-player .vjs-captions-button:hover {
    background: var(--wpnd-mhpro-primary-color);
}

/* Subtitles Button */
.wpnd-mhpro-video-player.video-js .vjs-subtitles-button {
    background: transparent;
}

.wpnd-mhpro-video-player.video-js .vjs-subtitles-button:hover {
    background: var(--wpnd-mhpro-primary-color);
}

/* Playback Rate */
.wpnd-mhpro-video-player.video-js .vjs-playback-rate,
.wpnd-mhpro-video-player .vjs-playback-rate {
    background: transparent;
}

.wpnd-mhpro-video-player.video-js .vjs-playback-rate:hover,
.wpnd-mhpro-video-player .vjs-playback-rate:hover {
    background: var(--wpnd-mhpro-primary-color)
}

/* Fullscreen */
.wpnd-mhpro-video-player.video-js .vjs-fullscreen-control,
.wpnd-mhpro-video-player .vjs-fullscreen-control {
    background: transparent;
}

.wpnd-mhpro-video-player.video-js .vjs-fullscreen-control:hover,
.wpnd-mhpro-video-player .vjs-fullscreen-control:hover {
    background: var(--wpnd-mhpro-primary-color);
}

/* Picture-in-Picture */
.wpnd-mhpro-video-player .vjs-picture-in-picture-control {
    background: transparent;
}

.wpnd-mhpro-video-player .vjs-picture-in-picture-control:hover {
    background: var(--wpnd-mhpro-primary-color);
}

/* Resolution Button */
.wpnd-mhpro-video-player.video-js .vjs-resolution-button,
.wpnd-mhpro-video-player .vjs-resolution-button {
    background: transparent;
}

.wpnd-mhpro-video-player.video-js .vjs-resolution-button:hover,
.wpnd-mhpro-video-player .vjs-resolution-button:hover {
    background: var(--wpnd-mhpro-primary-color);
}

/* Spacer */
.wpnd-mhpro-video-player.video-js .vjs-spacer {
    display: none;
}

/* Spinner */
.wpnd-mhpro-video-player.video-js .vjs-loading-spinner {
    border-color: var(--wpnd-mhpro-primary-color);
}

/**
 * Style for comments area.
 */
.wpnd-mhpro-comment-container {
    margin-top: 50px;
}

.wpnd-mhpro-comment-title {
    margin-bottom: 20px;
}

/* Comment List Wrapper */
.wpnd-mhpro-comment-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.wpnd-mhpro-comment-list li {
    list-style: none
}

/* Each Comment */
.wpnd-mhpro-comment {
    border-bottom: 1px solid #e0e0e0;
    padding: 16px 0;
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

/* Avatar */
.wpnd-mhpro-comment .wpnd-mhpro-avatar {
    border-radius: 50%;
    width: 48px;
    height: 48px;
}

/* Comment Content */
.wpnd-mhpro-comment-body {
    display: flex;
    justify-content: left;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    background: var(--wpnd-mhpro-primary-soft-bg-color);
    border: 1px solid var(--wpnd-mhpro-mute-color);
    padding: 1rem;
    border-radius: 8px;
}

.wpnd-mhpro-comment-details {
    width: 100%;
}

.wpnd-mhpro-comment-avatar {
    border-radius: 50%;
}

.wpnd-mhpro-comment-content p {
    margin-bottom: 1rem;
}

.wpnd-mhpro-comment-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.8rem;
    color: var(--wpnd-mhpro-title-mute-color)
}

.wpnd-mhpro-author a {
    font-size: 0.87rem;
    font-weight: 600;
    color: var(--wpnd-mhpro-title-color);
}

.wpnd-mhpro-comment-footer {
    display: flex;
    justify-content: space-between;
}

.wpnd-mhpro-section-style .comment-respond {
    padding: 0.5rem 0;
}

/**
 * Filter sidebar.
 */
.wpnd-mhpro-sidebar-filters {
    background: var(--wpnd-mhpro-primary-soft-bg-color);
    padding: 15px;
    border-radius: 8px;
    border: 1px solid var(--wpnd-mhpro-mute-color)
}

.wpnd-mhpro-sidebar-filters fieldset {
    border: 0;
    padding: 0;
    margin: 0 0 25px 0;
}

.wpnd-mhpro-sidebar-filters legend,
.wpnd-mhpro-sidebar-filters label {
    display: flex;
    align-items: center;
}

.wpnd-mhpro-sidebar-filters fieldset legend,
.wpnd-mhpro-sidebar-filters fieldset legend span:first-child {
    font-size: 20px;
    font-weight: 700;
    justify-content: space-between;
    width: 100%;
}

.wpnd-mhpro-sidebar-filters fieldset legend {
    border-bottom: 1px solid var(--wpnd-mhpro-mute-color);
    padding: 0 0 15px 0;
    margin-bottom: 20px;
}

.wpnd-mhpro-sidebar-filters fieldset legend input[type="reset"] {
    font-size: 12px;
    font-weight: 400;
    background-color: transparent;
    color: var(--wpnd-mhpro-title-mute-color);
    height: auto;
    border: none;
    padding: 0;
    margin: 0;
    cursor: pointer;
}

.wpnd-mhpro-sidebar-filters label {
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    gap: 5px
}

.wpnd-mhpro-filter-duration {
    width: 100%;
    max-width: auto;
    position: relative;
}

/* Range Slider */
.wpnd-mhpro-sidebar-filters .range-labels {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5em;
    font-size: 0.9em;
    font-weight: 500;
    color: var(--wpnd-mhpro-secondary-color);
}

.wpnd-mhpro-sidebar-filters input[type="range"] {
    -webkit-appearance: none;
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: var(--wpnd-mhpro-title-mute-color);
    outline: none;
    margin: 0;
    padding: 0;
}

.wpnd-mhpro-sidebar-filters input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--wpnd-mhpro-secondary-color);
    cursor: pointer;
    border: none;
}

.wpnd-mhpro-sidebar-filters input[type="range"]::-moz-range-thumb {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--wpnd-mhpro-secondary-color);
    cursor: pointer;
    border: none;
}

.wpnd-mhpro-duration-range-values {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 14px;
    margin-bottom: -5px;
}

.wpnd-mhpro-ajax-filter-load-more-container {
    text-align: center;
}

.wpnd-mhpro-section-style .wpnd-mhpro-ajax-filter-load-more {
    display: inline-block;
    width: auto;
}

/* Responsive breakpoints for sm */
@media (max-width: 576px) {
    .wpnd-mhpro-row {
        margin: auto;
    }

    .swiper-slide:not(.swiper-slide-active) {
        visibility: hidden;
    }

    .wpnd-mhpro-section-style .wpnd-mhpro-single-page-meta .wpnd-mhpro-post-info {
        display: block;
    }
}

@media (max-width: 768px) {

    .wpnd-mhpro-video-player.video-js .vjs-time-control,
    .wpnd-mhpro-video-player.video-js .vjs-volume-panel {
        display: none;
    }
}

@media (min-width: 576px) {

    .wpnd-mhpro-container {
        max-width: 540px;
    }

    .wpnd-mhpro-col-sm-1 {
        flex: 0 0 8.333%;
        max-width: 8.333%;
    }

    .wpnd-mhpro-col-sm-2 {
        flex: 0 0 16.666%;
        max-width: 16.666%;
    }

    .wpnd-mhpro-col-sm-3 {
        flex: 0 0 25%;
        max-width: 25%;
    }

    .wpnd-mhpro-col-sm-4 {
        flex: 0 0 33.333%;
        max-width: 33.333%;
    }

    .wpnd-mhpro-col-sm-5 {
        flex: 0 0 41.666%;
        max-width: 41.666%;
    }

    .wpnd-mhpro-col-sm-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .wpnd-mhpro-col-sm-7 {
        flex: 0 0 58.333%;
        max-width: 58.333%;
    }

    .wpnd-mhpro-col-sm-8 {
        flex: 0 0 66.666%;
        max-width: 66.666%;
    }

    .wpnd-mhpro-col-sm-9 {
        flex: 0 0 75%;
        max-width: 75%;
    }

    .wpnd-mhpro-col-sm-10 {
        flex: 0 0 83.333%;
        max-width: 83.333%;
    }

    .wpnd-mhpro-col-sm-11 {
        flex: 0 0 91.666%;
        max-width: 91.666%;
    }

    .wpnd-mhpro-col-sm-12 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* Responsive breakpoints for md */
@media (min-width: 768px) {

    .wpnd-mhpro-container {
        max-width: 720px;
    }

    .wpnd-mhpro-col-md-1 {
        flex: 0 0 8.333%;
        max-width: 8.333%;
    }

    .wpnd-mhpro-col-md-2 {
        flex: 0 0 16.666%;
        max-width: 16.666%;
    }

    .wpnd-mhpro-col-md-3 {
        flex: 0 0 25%;
        max-width: 25%;
    }

    .wpnd-mhpro-col-md-4 {
        flex: 0 0 33.333%;
        max-width: 33.333%;
    }

    .wpnd-mhpro-col-md-5 {
        flex: 0 0 41.666%;
        max-width: 41.666%;
    }

    .wpnd-mhpro-col-md-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .wpnd-mhpro-col-md-7 {
        flex: 0 0 58.333%;
        max-width: 58.333%;
    }

    .wpnd-mhpro-col-md-8 {
        flex: 0 0 66.666%;
        max-width: 66.666%;
    }

    .wpnd-mhpro-col-md-9 {
        flex: 0 0 75%;
        max-width: 75%;
    }

    .wpnd-mhpro-col-md-10 {
        flex: 0 0 83.333%;
        max-width: 83.333%;
    }

    .wpnd-mhpro-col-md-11 {
        flex: 0 0 91.666%;
        max-width: 91.666%;
    }

    .wpnd-mhpro-col-md-12 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* Responsive breakpoints for lg */
@media (min-width: 992px) {
    .wpnd-mhpro-container {
        max-width: 960px;
    }

    .wpnd-mhpro-col-lg-1 {
        flex: 0 0 8.333%;
        max-width: 8.333%;
    }

    .wpnd-mhpro-col-lg-2 {
        flex: 0 0 16.666%;
        max-width: 16.666%;
    }

    .wpnd-mhpro-col-lg-3 {
        flex: 0 0 25%;
        max-width: 25%;
    }

    .wpnd-mhpro-col-lg-4 {
        flex: 0 0 33.333%;
        max-width: 33.333%;
    }

    .wpnd-mhpro-col-lg-5 {
        flex: 0 0 41.666%;
        max-width: 41.666%;
    }

    .wpnd-mhpro-col-lg-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .wpnd-mhpro-col-lg-7 {
        flex: 0 0 58.333%;
        max-width: 58.333%;
    }

    .wpnd-mhpro-col-lg-8 {
        flex: 0 0 66.666%;
        max-width: 66.666%;
    }

    .wpnd-mhpro-col-lg-9 {
        flex: 0 0 75%;
        max-width: 75%;
    }

    .wpnd-mhpro-col-lg-10 {
        flex: 0 0 83.333%;
        max-width: 83.333%;
    }

    .wpnd-mhpro-col-lg-11 {
        flex: 0 0 91.666%;
        max-width: 91.666%;
    }

    .wpnd-mhpro-col-lg-12 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* Responsive breakpoints for xl */
@media (min-width: 1200px) {
    .wpnd-mhpro-container {
        max-width: 1140px;
    }

    .wpnd-mhpro-col-xl-1 {
        flex: 0 0 8.333%;
        max-width: 8.333%;
    }

    .wpnd-mhpro-col-xl-2 {
        flex: 0 0 16.666%;
        max-width: 16.666%;
    }

    .wpnd-mhpro-col-xl-3 {
        flex: 0 0 25%;
        max-width: 25%;
    }

    .wpnd-mhpro-col-xl-4 {
        flex: 0 0 33.333%;
        max-width: 33.333%;
    }

    .wpnd-mhpro-col-xl-5 {
        flex: 0 0 41.666%;
        max-width: 41.666%;
    }

    .wpnd-mhpro-col-xl-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .wpnd-mhpro-col-xl-7 {
        flex: 0 0 58.333%;
        max-width: 58.333%;
    }

    .wpnd-mhpro-col-xl-8 {
        flex: 0 0 66.666%;
        max-width: 66.666%;
    }

    .wpnd-mhpro-col-xl-9 {
        flex: 0 0 75%;
        max-width: 75%;
    }

    .wpnd-mhpro-col-xl-10 {
        flex: 0 0 83.333%;
        max-width: 83.333%;
    }

    .wpnd-mhpro-col-xl-11 {
        flex: 0 0 91.666%;
        max-width: 91.666%;
    }

    .wpnd-mhpro-col-xl-12 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}