/* Blog Listing Page  */

/* related Blog */
.recent-posts {
    display: grid;
    grid-template-columns: 1fr 564px;
    grid-gap: 20px;
    gap: 20px;
}

.recent-posts .column-left {
    border-radius: 12px;
    border: 1px solid var(--Sennovate-stroke, #D7E2ED);
}

.post-card.large-and-small figure {
    border-radius: 12px 12px 0 0;
}

.post-card .content {
    padding: 24px;
}

.recent-posts .title {
    color: var(--Sennovate-Dark-blue, #051630);
    font-family: var(--sennovate-font) !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    line-height: 130% !important;
}

.recent-posts .column-left .title {
    font-size: 22px !important;
}

.post-card .wp-block-buttons {
    margin-top: auto;
    padding-top: 34px;
}

.post-card .tags .tag {
    color: var(--600, #006FE3);
    font-family: Inter;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
    margin-bottom: 8px;
}

.recent-posts .post-card .description {
    display: none;
}

.post-card {
    margin-bottom: 0;
    position: relative;
    /* Support stretched link clickable cards */
}

/* Clickable overlay spanning the entire card */
.post-card-link-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    outline: none;
}

.post-card.two-column {
    margin-bottom: 20px;
    border-radius: 12px;
    border: 1px solid var(--Sennovate-stroke, #D7E2ED);
    gap: 24px;
}

.post-card.two-column .content {
    padding: 0px 24px 0 0;
}

.post-card.two-column:last-child {
    margin-bottom: 0;
}

.post-card.two-column .image figure {
    overflow: inherit;
    border-radius: 12px 0 0 12px !important;
}

.post-card .wp-block-buttons a {
    color: var(--Sennovate-blue, #006FE3) !important;
    font-family: var(--sennovate-medium-font);
    font-size: 16px !important;
    font-weight: 500 !important;
    line-height: var(--line-height-20, 20px) !important;
}

.post-card.two-column .image figure img {
    height: 166px;
    object-fit: cover;
    object-position: left;
}

.post-card .wp-block-buttons a::after {
    background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSI5IiB2aWV3Qm94PSIwIDAgMTYgOSIgZmlsbD0ibm9uZSI+CiAgPHBhdGggZD0iTTEwLjEzMjYgOC44NjY3QzEwLjEzMjYgOC4zOTY3NyAxMC41OTY4IDcuNjk1MDMgMTEuMDY2NyA3LjEwNjAzQzExLjY3MDkgNi4zNDYwMyAxMi4zOTI5IDUuNjgyOTMgMTMuMjIwNyA1LjE3NjkwQzEzLjg0MTQgNC43OTc1MyAxNC41OTM4IDQuNDMzMzcgMTUuMTk5MiA0LjQzMzM3TTE1LjE5OTIgNC40MzMzN0MxNC41OTM4IDQuNDMzMzcgMTMuODQwNyA0LjA2OTIgMTMuMjIwNyAzLjY4OTgzQzEyLjM5MjkgMy4xODMxNyAxMS42NzA5IDIuNTIwMDcgMTEuMDY2NyAxLjc2MTMzQzEwLjU5NjggMS4xNzE3IDEwLjEzMjYgMC40Njg2OTkgMTAuMTMyNiAzLjI2NjMzZS0wNU0xNS4xOTkyIDQuNDMzMzdMLTAuMDAwNzgxMDU5IDQuNDMzMzciIHN0cm9rZT0iIzAwNkZFMyIgc3Ryb2tlLXdpZHRoPSIwLjk1Ii8+Cjwvc3ZnPg==) !important;
    margin: 0 0 0 10px !important;
}

.post-card .wp-block-buttons a:hover::after,
.post-card:hover .wp-block-buttons a::after {
    transform: translateX(5px) !important;
    transition: all 0.3s ease-in-out;
}

/* Search Filter */
.post-filter .search-wrapper {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    padding: 16px 20px;
    border-radius: 8px;
    border: 1px solid var(--Sennovate-stroke, #D7E2ED);
}

.post-filter .category-filter .filter-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 1rem 1.25rem;
    background: none;
    cursor: pointer;
    border-radius: 8px 8px 0 0;
    border: 1px solid var(--Sennovate-stroke, #D7E2ED);
    color: var(--Sennovate-Dark-blue, #051630);
    font-weight: 400 !important;
    line-height: 140% !important;
    font-size: 16px;
}

.post-filter .category-filter .custom-post-categories {
    margin-top: 0;
    padding: 32px 24px;
    list-style: none;
    border-radius: 0 0 8px 8px;
    border: 1px solid var(--Sennovate-stroke, #D7E2ED);
}

.post-filter .search-wrapper input {
    flex: 1;
    height: 30px;
    outline: none;
    border: none;
    color: var(--Sennovate-Dark-blue, #051630);
    font-weight: 400 !important;
    line-height: 140% !important;
    font-size: 16px;
}

.post-main .archive-posts .tag {
    margin-bottom: 12px;
}

.post-main .archive-posts .title {
    color: var(--Sennovate-Dark-blue, #051630) !important;
    font-family: var(--sennovate-medium-font) !important;
    font-size: 18px !important;
    font-weight: 500 !important;
    line-height: 130% !important;
}

.post-main .archive-posts .wp-block-buttons {
    display: none;
}

.post-filter .category-filter .custom-post-categories li label {
    display: flex;
    align-items: center;
    font-size: 1rem;
    cursor: pointer;
    gap: 16px !important;
    color: var(--Sennovate-Dark-blue, #051630);
    font-weight: 400 !important;
    line-height: 140% !important;
}

.post-filter .category-filter .custom-post-categories li label input[type=checkbox] {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 6px;
    border: 1px solid var(--Sennovate-stroke, #D7E2ED);
    outline: none;
    cursor: pointer;
    background-color: #FFFFFF;
    transition: all 0.2s ease-in-out;
    display: inline-block;
    vertical-align: middle;
}

.post-filter .category-filter .custom-post-categories li label input[type=checkbox]:checked {
    background-color: var(--Sennovate-blue, #006FE3);
    border-color: var(--Sennovate-blue, #006FE3);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='11' viewBox='0 0 14 11' fill='none'%3E%3Cpath d='M4.42542 7.935L1.12417 4.8075L0 5.865L4.42542 10.0575L13.9254 1.0575L12.8092 0L4.42542 7.935Z' fill='white'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
}

.post-main {
    gap: 40px;
    max-width: 1140px;
    padding-bottom: 80px;
}

.post-main .archive-posts .post-card {
    margin-bottom: 0;
    border-radius: 12px;
    border: 0.5px solid var(--Sennovate-stroke, #D7E2ED);
    background: var(--Sennovate-white, #FFF);
}

.post-main .post-card .image {
    height: 154px;
}

.post-main .post-card .image img {
    height: 154px;
    object-position: left;
}

.post-main .post-card .image figure {
    border-radius: 0;
}

.feature-post.sennovate-section {
    padding: 80px 0;
}

.feature-post.sennovate-section .wp-block-group {
    max-width: 1140px;
    margin: auto !important;
    padding: 0 !important;
}

.post-content .selected-filter .clear-filter {
    background: var(--sennovate-blue);
}

.post-content .selected-filter ul li {
    border: 1px solid #D7E2ED;
    color: var(--sennovate-dark-blue);
}

/* Blog Detail Hero Banner Styling */
.detail-banner {
    background-color: var(--Sennovate-blue, #006FE3) !important;
    padding: 135px 0 80px 0 !important;
    color: #FFFFFF !important;
    box-sizing: border-box;
    border: 10px solid #ffffff;
    border-radius: 24px;
}

.detail-banner-wrap {
    max-width: 1240px;
    margin: 0 auto !important;
    padding: 0;
}

.detail-banner-columns {
    display: flex;
    align-items: center !important;
    gap: 60px;
    margin: 0;
}

.detail-banner-left {
    flex: 1.15;
}

.blog-hero-heading {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.blog-hero-tag {
    margin-bottom: 11px;
    color: var(--Sennovate-white, #FFF);
    font-family: Inter;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
}

.blog-title {
    font-family: var(--font-satoshi-bold, var(--sennovate-medium-font, sans-serif)) !important;
    color: #FFFFFF !important;
    font-size: clamp(32px, 4vw, 42px) !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    margin: 0 0 32px 0 !important;
}

/* Metadata Row with aligned icons */
.blog-hero-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    color: var(--Sennovate-white, #FFF);
    font-family: var(--sennovate-medium-font);
    font-size: 18px;
    font-weight: 500;
    line-height: 125%;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.meta-icon {
    opacity: 0.9;
}

.meta-divider {
    opacity: 0.4;
}

.meta-item .author-link {
    color: inherit;
    text-decoration: none;
    transition: opacity 0.2s ease-in-out;
}

.meta-item .author-link:hover {
    text-decoration: underline;
    opacity: 0.8;
}

/* Rounded Post Thumbnail image wrapper */
.detail-banner-right {
    flex: 0.85;
}

.detail-banner-img-wrap {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    max-height: 415px;
}

.detail-banner-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.single-post .detail-banner .detail-banner-columns {
    background: none;
    margin: 0 auto;
    padding: 0;
    gap: 60px;
    max-width: 1140px;
}

.single-post .post-content {
    padding: 80px 30px;
}

.single-post .detail-banner .detail-banner-right img {
    height: 380px;
    object-position: left;
}

.single-post .blog-sidebar-widgets .anchor-nav-heading {
    display: block;
    width: 100%;
    color: var(--Sennovate-Dark-blue, #051630);
    font-family: var(--font-satoshi-bold);
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: 130%;
    border-bottom: 1px solid #D7E2ED;
    padding-bottom: 20px;
    margin-bottom: 32px;
}

.single-post .post-content-container {
    gap: 50px;
    border: none;
    max-width: 1140px !important;
    margin: 0 auto !important;
}

.single-post .post-content-container article .wp-block-group {
    padding: 0;
}

.single-post .post-content-container article .wp-block-group {
    padding: 0;
    color: var(--Sennovate-Dark-blue, #051630);
    font-family: var(--sennovate-font, 'Satoshi-Regular');
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 155%;
}

.single-post .blog-sidebar-widgets .sidebar-menu-item {
    margin: 0;
}

.single-post .blog-sidebar-widgets .anchor-menu-link {
    position: relative;
    display: inline-block;
    padding: 20px 0;
    text-decoration: none;
    border-bottom: 1px solid #D7E2ED;
    width: 100%;
    color: var(--500, #828A97);
    font-family: var(--sennovate-font);
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: 135%;
    transition: color 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.single-post .blog-sidebar-widgets .anchor-menu-link.active {
    color: var(--Sennovate-blue, #006FE3);
    font-family: var(--font-satoshi-bold);
    font-size: 18px;
    font-weight: 700;
    line-height: 135%;
}

.single-post .blog-sidebar-widgets .anchor-menu-link:hover {
    color: var(--Sennovate-blue, #006FE3);
}

/* Continuous gray vertical timeline track line */
.single-post .blog-sidebar-widgets .anchor-menu-link::after {
    content: "";
    position: absolute;
    top: 0;
    left: -20px;
    display: block;
    width: 4px;
    height: 100%;
    background: #E2E9F0;
    z-index: 1;
}

/* Active blue vertical timeline indicator */
.single-post .blog-sidebar-widgets .anchor-menu-link::before {
    content: "";
    position: absolute;
    top: 0;
    left: -20px;
    width: 4px;
    height: 0;
    background: #006FE3;
    border-radius: 2px;
    z-index: 2;
    transition: height 0.35s cubic-bezier(0.25, 1, 0.5, 1);
}

.single-post .blog-sidebar-widgets .anchor-menu-link.active::before {
    height: 100%;
}

.single-post .share-container {
    margin-top: 3.125rem;
    display: none;
}

.single-post .blog-sidebar-widgets .anchor-menu-link.active::before {
    z-index: 2;
    border-radius: 2.5px;
    background: var(--Sennovate-blue, #006FE3);
}

.single-post .post-content-container h2 {
    color: var(--Sennovate-Dark-blue, #051630);
    font-family: var(--sennovate-medium-font) !important;
    font-size: 32px !important;
    font-weight: 500 !important;
    line-height: 1 !important;
}

.single-post .post-content-container h3 {
    color: var(--Sennovate-Dark-blue, #051630);
    font-feature-settings: "liga" 0, "clig" 0;
    font-family: Satoshi;
    font-size: 24px;
    font-style: normal;
    font-weight: 500;
    line-height: 32px;
}

.single-post .post-content-container h3 {
    color: var(--Sennovate-Dark-blue, #051630);
    font-family: var(--sennovate-medium-font) !important;
    font-size: 24px !important;
    font-weight: 500 !important;
    line-height: 1.3 !important;
}

.main ul li::before {
    background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0IiBmaWxsPSJub25lIj48cGF0aCBkPSJNMTQuMTMyNiAxNi44NjcyQzE0LjEzMjYgMTYuMzk3MyAxNC41OTY4IDE1LjY5NTUgMTUuMDY2NyAxNS4xMDY1QzE1LjY3MDkgMTQuMzQ2NSAxNi4zOTI5IDEzLjY4MzQgMTcuMjIwNyAxMy4xNzc0QzE3Ljg0MTQgMTIuNzk4IDE4LjU5MzggMTIuNDMzOSAxOS4xOTkyIDEyLjQzMzlNMTkuMTk5MiAxMi40MzM5QzE4LjU5MzggMTIuNDMzOSAxNy44NDA3IDEyLjA2OTcgMTcuMjIwNyAxMS42OTAzQzE2LjM5MjkgMTEuMTgzNyAxNS42NzA5IDEwLjUyMDYgMTUuMDY2NyA5Ljc2MTgyQzE0LjU5NjggOS4xNzIxOSAxNC4xMzI2IDguNDY5MTkgMTQuMTMyNiA4LjAwMDUyTTE5LjE5OTIgMTIuNDMzOUgzLjk5OTIyIiBzdHJva2U9IiMwMDZGRTMiIHN0cm9rZS13aWR0aD0iMC45NSIvPjwvc3ZnPg==");
}

.related-post-heading {
    color: var(--Sennovate-Dark-blue, #051630);
    text-align: center !important;
    font-family: var(--sennovate-medium-font) !important;
    font-size: 46px;
    font-weight: 500 !important;
    line-height: 130% !important;
    margin-bottom: 60px !important;
}

.related-articles-cards .post-card {
    margin-bottom: 0;
    position: relative;
    border-radius: 12px;
    border: 0.5px solid var(--Sennovate-stroke, #D7E2ED);
    background: #FFF;
}

.related-articles-cards .post-card .image {
    position: relative;
    width: 100%;
    height: 265px;
    overflow: hidden;
}

.related-articles-cards .post-card .image img {
    max-height: 265px;
    object-fit: cover;
    object-position: left;
}

.related-articles-cards .post-card .title {
    color: #051630;
    font-family: var(--sennovate-medium-font) !important;
    font-size: 22px !important;
    font-weight: 500 !important;
    line-height: 130% !important;
}

.related-articles-cards .post-card .description,
.related-articles-cards .post-card .wp-block-buttons {
    display: none;
}

.related-articles-cards .post-card .image figure,
.related-articles-cards .post-card .wp-block-image figure {
    border-radius: 0px;
}

p a {
    color: var(--sennovate-blue);
    text-decoration: underline;
}

.archive-posts,
.latest-post-event-news,
.recent-posts,
.related-articles-cards {
    margin-bottom: 0 !important;
}

.wp-block-quote::before {
    position: absolute;
    left: 0;
    width: 5px;
    height: 100%;
    background: var(--sennovate-blue);
    content: "";
}

.menu-post-card .wp-block-image img {
    border-radius: 8.397px 8.397px 0 0;
    width: 100% !important;
}

.menu-bg-bar {
    border-radius: 0 0 12px 12px;
}

.post-type-archive .post-content {
    margin: 0;
}

.page-template-blog .feature-post.sennovate-section {
    padding: 160px 0 80px;
}

.sennovate-footer .sf-links li a,
.sennovate-footer .sf-legal a {
    color: #A1CEFE;
}

.sennovate-footer .sf-links li a:hover,
.sennovate-footer .sf-legal a:hover {
    color: #fff;
}

header.header .utility-menu-wrapper .menu-item a:hover {
    box-shadow: none;
    transform: translateY(-2px);
    background-color: #004BA3 !important;
    opacity: 1;
}

.career-listing.sennovate-section {
    padding: 80px 30px 40px;
}

.career-listing.sennovate-section h2 {
    color: var(--Sennovate-Dark-blue, #051630);
    font-size: 46px !important;
    font-weight: 500 !important;
    line-height: 130% !important;
    font-family: var(--sennovate-medium-font) !important;
    margin-bottom: 16px !important;
}

.career-listing.sennovate-section p {
    color: var(--Sennovate-Dark-blue, #051630);
    font-size: 18px !important;
    font-weight: 400;
    line-height: 140% !important;
    margin: 0 auto;
    max-width: 552px;
}


/* Mobile responsive styling overrides */
@media(max-width: 1024px) {
    .detail-banner {
        padding: 135px 30px 80px !important;
    }

    .post-main {
        padding: 0 30px 60px;
    }

    .recent-posts {
        grid-template-columns: 1fr 1fr;
    }

    .recent-posts .column-left {
        margin-bottom: 0;
        grid-column: unset;
    }

    /* Only target the featured card image, avoiding vertical stretching on smaller two-column cards */
    .post-card.large-and-small .image,
    .post-card.large-and-small .image img {
        height: 259px;
    }

    .single-post .post-content {
        padding: 80px 30px;
    }

    .related-articles-cards {
        gap: 40px;
    }

    .single-post .post-content-container {
        padding-bottom: 40px;
    }

    .feature-post.sennovate-section {
        padding: 80px 30px;
    }

    .page-template-blog .feature-post.sennovate-section {
        padding: 120px 30px 80px;
    }
}

@media (max-width: 991px) {
    .recent-posts {
        grid-template-columns: 1fr;
    }

    .pagination-wrapper {
        justify-content: flex-start;
    }

    .detail-banner-columns {
        flex-direction: column-reverse !important;
        gap: 40px;
    }

    .recent-posts .column-right {
        grid-column: unset;
    }

    .detail-banner {
        padding: 120px 30px 80px !important;
    }
}

@media(max-width: 800px) {

    .post-card.two-column,
    .post-card:not(.large-and-small) {
        display: flex;
        flex-direction: column;
        gap: 0;
    }

    .post-card:not(.large-and-small) .image,
    .post-card:not(.large-and-small) .image img,
    .post-card.large-and-small .image,
    .post-card.large-and-small .image img,
    .post-card.two-column .content {
        width: 100% !important;
        height: auto !important;
        border-radius: 0;
    }

    .post-card .wp-block-buttons {
        display: none;
    }

    .post-card.two-column .content,
    .post-card:not(.large-and-small) .content {
        padding: 24px;
        width: 100%;
    }

    .post-card.two-column .title {
        font-size: 22px !important;
    }

    .recent-posts {
        gap: 24px;
    }

    .archive-posts,
    .latest-post-event-news,
    .recent-posts,
    .related-articles-cards {
        margin-bottom: 0;
    }

    .single-post .detail-banner .detail-banner-columns,
    .single-webinar .detail-banner .detail-banner-columns {
        display: flex !important;
        flex-direction: column !important;
    }

    .single-event .detail-banner .detail-banner-columns,
    .single-news .detail-banner .detail-banner-columns,
    .single-post .detail-banner .detail-banner-columns,
    .single-webinar .detail-banner .detail-banner-columns {
        align-items: baseline !important;
    }

    .blog-title {
        margin: 0 0 20px 0 !important;
    }

    .single-post .post-content {
        padding: 40px 30px;
    }

    .feature-post.sennovate-section {
        padding: 60px 30px;
    }

    .page-template-blog .feature-post.sennovate-section {
        padding: 60px 30px 60px !important;
    }
}

@media(max-width: 767px) {

    .post-main {
        padding: 0 20px;
        flex-direction: column;
    }

    .feature-post.sennovate-section {
        padding: 60px 20px;
    }

    .single-post .post-content {
        padding: 40px 20px;
    }

    .detail-banner {
        padding: 60px 20px !important;
    }

    .blog-hero-meta {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
    }

    .meta-divider {
        display: none;
    }

    .related-post-heading {
        margin-bottom: 40px !important;
        text-align: left !important;
        margin-top: 0 !important;
    }

    .related-articles-cards {
        gap: 24px;
    }

    .page-template-blog .feature-post.sennovate-section {
        padding: 60px 20px 60px !important;
    }
}

.pagination-wrapper .pagination-item .next,
.pagination-wrapper .pagination-item .prev {
    border: 1px solid #006FE3;
    color: #006FE3;
    padding: 10px 20px;
    font-size: 14px;
}

.pagination-wrapper .pagination-item .icon {
    padding: 0;
    width: 30px;
    height: 20px;
}

.pagination-wrapper .pagination-item .icon svg {
    width: 20px;
    height: 20px;
}

/* ==========================================================================
   Author Hero Details and Profile Card Banner
   ========================================================================== */
.author-hero-section {
    background-color: #006FE3;
    padding: 100px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-bottom: 80px;
}

.author-hero-wrap {
    max-width: 1140px;
    width: 100%;
    margin: 0 auto;
}

.author-profile-card {
    background-color: #ffffff;
    display: flex;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    align-items: stretch;
    margin-top: 80px;
}

.author-card-image-col {
    flex: 0 0 425px;
    max-width: 425px;
    display: flex;
    max-height: 372px;
}

.author-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 0;
}

.author-card-content-col {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex-grow: 1;
}

.author-card-name {
    margin: 0 0 16px 0 !important;
    text-transform: uppercase;
    line-height: 1.3 !important;
    color: var(--Sennovate-Dark-blue, #051630);
    font-family: var(--font-satoshi-bold) !important;
    font-size: 32px !important;
    font-style: normal;
    font-weight: 700 !important;
}

.author-card-title {
    margin: 0 0 16px 0 !important;
    line-height: 1.3 !important;
    color: var(--Sennovate-Dark-blue, #051630);
    font-family: var(--sennovate-medium-font) !important;
    font-size: 22px !important;
    font-weight: 500 !important;
}

.author-card-bio {
    margin: 0 0 32px 0 !important;
    color: var(--Sennovate-Dark-blue, #051630);
    font-size: var(--font-size-18, 18px) !important;
    font-weight: 400 !important;
    line-height: 140% !important;
}

.author-card-social {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-card-social .follow-text {
    color: var(--Sennovate-Dark-blue, #051630);
    font-family: var(--sennovate-medium-font);
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
}

.author-card-social .linkedin-link {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.author-card-social .linkedin-link:hover {
    transform: scale(1.1);
}

.author-card-social .linkedin-link svg {
    display: block;
}


header.header .menus .menu-item-link.depth-0+.sub-menu,
header.header .menus .menu-item-has-meganav .sub-menu {
    top: calc(var(--header-height, 84px) + 6px) !important;
    border-radius: 12px;
    border: 0.5px solid var(--Sennovate-stroke, #D7E2ED);
    background: #FFF;
    box-shadow: none;
}

header.header .main-menu .menu-item .wp-block-group.mega-nav-section .wp-block-custom-menu-post-card.menu-post-card p.menu-post-type {
    padding: 20px 20px 12px;
    margin: 0;
    font-size: 12px !important;
}

header.header .main-menu .menu-item .wp-block-group.mega-nav-section .wp-block-custom-menu-post-card.menu-post-card p.menu-post-title {
    padding-bottom: 20px;
    margin: 0;
}

a:hover {
    color: var(--sennovate-blue);
}

.wp-block-button .wp-block-button__link:hover,
header .demo-btn .menu-item-link:hover,
a.wp-block-button__link.hss__cta:hover,
.sv-strike-tm .sennovate-wht-btn:hover {
    box-shadow: none;
    transform: translateY(-2px);
    background-color: #004BA3 !important;
    opacity: 1;
}

.sennovate-footer .sf-certs img {
    height: 85px;
    width: auto;
}

header.header {
    z-index: 999 !important;
    overflow: visible;
}

.partner-single-wrap.header-offset {
    padding-top: 0 !important;
}


/* Tablet & Mobile Responsiveness for Author Profile */

@media(min-width: 1024px) {
    .main-menu .sub-menu .menu-item-link {
        border: none;
    }
}

@media(max-width:1200px) {

    .author-hero-section,
    .single-post .post-content {
        padding: 80px 30px;
    }
}

@media (max-width: 1024px) {
    .author-card-image-col {
        flex: 0 0 280px;
        max-width: 280px;
    }

    .author-profile-card {
        margin-top: 40px;
    }

    .author-hero-section {
        padding-bottom: 40px;
    }

    header#header {
        padding: 0 30px !important;
    }

    header.header .menus {
        display: flex !important;
        position: absolute !important;
        top: 100% !important;
        left: 0 !important;
        right: 0 !important;
        width: auto !important;
        background: #ffffff !important;
        padding: 5px 15px 10px !important;
        box-shadow: none !important;
        border-bottom-left-radius: 20px !important;
        border-bottom-right-radius: 20px !important;
        z-index: 1001 !important;
        flex-direction: column !important;
        align-items: stretch !important;
        max-height: 85vh !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        clip-path: inset(0 0 100% 0);
        transition: clip-path 0.3s ease-out;
        pointer-events: none;
        border-radius: 12px;
        border: 1px solid var(--Sennovate-stroke, #D7E2ED);
        background: var(--Sennovate-white, #FFF);
    }

    header.header .menus .menu-item-link.depth-0+.sub-menu,
    header.header .menus .menu-item-has-meganav .sub-menu {
        top: 0 !important;
    }
}

@media(max-width: 991px) {
    .pagination-item.number {
        display: none;
    }

    .single-post .detail-banner .detail-banner-columns {
        align-items: baseline !important;
    }

    .single-post .detail-banner .detail-banner-right {
        overflow: unset;
    }
}

@media (max-width: 767px) {
    .author-hero-section {
        padding: 60px 20px;
    }

    .author-profile-card {
        flex-direction: column;
        max-width: 100%;
    }

    .author-card-image-col {
        flex: none;
        max-width: 100%;
        width: 100%;
        height: 280px;
    }

    .author-card-img {
        border-radius: 12px 12px 0 0;
    }

    .author-card-name {
        font-size: 28px;
    }

    .author-card-title {
        font-size: 16px;
        margin-bottom: 16px !important;
    }

    .author-card-bio {
        font-size: 14px;
        margin-bottom: 24px !important;
    }

    .author-hero-section,
    .single-post .post-content {
        padding: 60px 20px;
    }

    header#header {
        padding: 0 20px 20px !important;
    }

}

/* ==========================================================================
   Mobile/Tablet Navigation Menu Enhancements (Aesthetic sliding panel drawer)
   ========================================================================== */
@media screen and (max-width: 1024px) {

    /* Lock the main page background scroll when mobile menu is open */
    html.nav-open,
    html.menu-open,
    html.is-menu-open,
    body.nav-open,
    body.menu-open,
    body.is-menu-open {
        overflow: hidden !important;
        height: 100% !important;
    }

    /* Reveal and style the mobile menu hamburger button */
    html body header.header .main-menu-toggle {
        display: block !important;
        order: 2 !important;
        margin-left: auto !important;
        z-index: 1002 !important;
        background: none !important;
        border: none !important;
        padding: 5px;
        cursor: pointer !important;
        color: var(--sennovate-dark-blue) !important;
    }

    /* Style the .menus container when mobile menu is active */
    html body header.header .main-menu-toggle[aria-expanded="true"]~.menus,
    html body.nav-open header.header .menus,
    html body header.header.active .menus,
    html body header.header.is-menu-open .menus,
    html body.is-menu-open header.header .menus,
    html body.menu-open header.header .menus {
        clip-path: inset(0 0 0 0) !important;
        pointer-events: all !important;
        display: flex !important;
        padding: 0 !important;
        border-radius: 12px !important;
    }

    /* Ensure the mobile .menus container behaves as an absolute overlay panel */
    html body header.header .menus {
        display: flex !important;
        position: absolute !important;
        top: 100% !important;
        left: -10px !important;
        right: -10px !important;
        width: auto !important;
        background: #ffffff !important;
        padding: 10px 20px 20px !important;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1) !important;
        border-bottom-left-radius: 20px !important;
        border-bottom-right-radius: 20px !important;
        z-index: 1001 !important;
        flex-direction: column !important;
        align-items: stretch !important;
        max-height: 85vh !important;
        overflow-y: auto !important;
        clip-path: inset(0 0 100% 0) !important;
        transition: clip-path 0.3s ease-out !important;
        pointer-events: none !important;
    }

    /* Disable double-scrollbars on parent .menus overlay when a sub-menu panel is open */
    html body header.header.submenu-open .menus,
    html body header.header .menus:has(.menu-item-open) {
        overflow-y: hidden !important;
    }

    /* Style the main-menu list and make it a relative, hidden overflow container for sub-menus */
    html body header.header .main-menu {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        gap: 0 !important;
        align-items: stretch !important;
        position: static !important;
        overflow: hidden !important;
        min-height: 480px !important;
        padding: 24px;
    }

    /* Keep the .menu-item static so absolutely positioned sub-menus span full width of main-menu container */
    html body header.header .main-menu .menu-item {
        width: 100% !important;
        position: static !important;
        border-bottom: 1px solid var(--Sennovate-stroke, #D7E2ED) !important;
        padding: 14px;
    }

    html body header.header .main-menu .menu-item-has-children {
        position: static !important;
    }

    /* Style the absolutely positioned horizontal sliding submenu panels */
    html body header.header .main-menu .sub-menu,
    html body.nav-open header.header .main-menu .sub-menu,
    html body header.header .main-menu .menu-item .sub-menu,
    html body header.header .main-menu .menu-item-has-children .sub-menu {
        position: absolute !important;
        z-index: 99999 !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        min-height: 100% !important;
        background: #ffffff !important;
        transform: translateX(100%) !important;
        transition: transform 0.3s ease-in-out !important;
        clip-path: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        max-height: none !important;
        border: none !important;
        box-shadow: none !important;
        padding: 20px 20px 60px !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        margin: 0 !important;
        display: block !important;
        border-bottom-left-radius: 12px !important;
        border-bottom-right-radius: 12px !important;
        border-top-left-radius: 0 !important;
        border-top-right-radius: 0 !important;
    }

    /* Force bottom margin/padding spacing on sub-menu contents to prevent vertical cutting */
    html body header.header .main-menu .sub-menu>*:last-child {
        margin-bottom: 60px !important;
        padding-bottom: 60px !important;
    }

    /* When sub-menu is active, slide it in */
    html body header.header .main-menu .sub-menu.active,
    html body.nav-open header.header .main-menu .sub-menu.active,
    html body header.header .main-menu .menu-item .sub-menu.active,
    html body header.header .main-menu .menu-item-has-children .sub-menu.active {
        transform: translateX(0) !important;
        max-height: none !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        padding: 0 !important;
    }

    /* Force show the back button container and button on all viewports under 1024px */
    html body header.header .main-menu li.hide-on-desktop,
    html body header.header .main-menu .go-back,
    html body .hide-on-desktop,
    .hide-on-desktop {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    /* Style the "Back" button at the top of the submenu panel */
    html body header.header .main-menu .sub-menu .go-back {
        display: flex !important;
        align-items: center !important;
        width: 100% !important;
        border: none !important;
        background: #F3F8FD !important;
        font-size: 16px !important;
        font-weight: 700 !important;
        text-transform: uppercase !important;
        cursor: pointer !important;
        position: relative !important;
        font-family: var(--font-satoshi-bold) !important;
        padding: 0.75rem 0.9375rem !important;
        padding-left: 2.5rem !important;
        color: var(--Sennovate-Dark-blue, #051630) !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    html body header.header .main-menu .sub-menu .go-back::before {
        content: "" !important;
        display: inline-block !important;
        width: 14px !important;
        height: 8px !important;
        background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='8' viewBox='0 0 14 8' fill='none'%3E%3Cpath d='M0.582031 0.583008L6.58203 6.58301L12.582 0.583008' stroke='%23051630' stroke-width='1.16667' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
        background-repeat: no-repeat !important;
        background-size: contain !important;
        transform: rotate(90deg) !important;
        /* Points left (<) */
        position: absolute !important;
        left: 15px !important;
        top: 50% !important;
        margin-top: -4px !important;
    }

    /* Hide the desktop hover chevron and indicator lines on mobile/tablet */
    html body header.header .main-menu .menu-item>a.depth-0::before,
    html body header.header .main-menu .menu-item>a.depth-0::after {
        display: none !important;
        content: none !important;
        background-image: none !important;
    }

    /* Hide raw desktop elements */
    html body header.header .main-menu .menu-item svg,
    html body header.header .main-menu .menu-item img {
        display: block !important;
    }

    /* Style the sub-menu-toggle button on mobile/tablet */
    html body header.header .main-menu .sub-menu-toggle {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        position: absolute !important;
        right: -10px !important;
        top: 0 !important;
        height: 100% !important;
        width: 40px !important;
        background: transparent !important;
        border: none !important;
        cursor: pointer !important;
        z-index: 2 !important;
        padding: 0 !important;
        margin: 0 !important;
        line-height: 1 !important;
        appearance: none !important;
        -webkit-appearance: none !important;
        box-shadow: none !important;
        outline: none !important;
        transform: rotate(0deg) !important;
    }

    html body header.header .main-menu .sub-menu-toggle::before {
        display: none !important;
        content: none !important;
    }

    html body header.header .main-menu .sub-menu-toggle::after {
        content: "" !important;
        display: inline-block !important;
        width: 14px !important;
        height: 8px !important;
        background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='8' viewBox='0 0 14 8' fill='none'%3E%3Cpath d='M0.582031 0.583008L6.58203 6.58301L12.582 0.583008' stroke='%23051630' stroke-width='1.16667' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
        background-repeat: no-repeat !important;
        background-size: contain !important;
        transform: rotate(-90deg) !important;
        /* points right by default */
        transition: transform 0.3s ease !important;
        pointer-events: none !important;
    }

    html body header.header .main-menu .menu-item-has-children>a {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        position: relative !important;
        padding-right: 40px !important;
        /* Prevent text collision with chevron */
    }

    html body header.header .main-menu .menu-item-has-children>a::after {
        display: none !important;
    }

    /* Rotate the chevron on active/open states */
    html body header.header .main-menu .menu-item-open>a,
    html body header.header .main-menu .menu-item.active>a {
        color: var(--wp--preset--color--light-orange) !important;
    }

    html body header.header .main-menu .menu-item-open .sub-menu-toggle::after,
    html body header.header .main-menu .menu-item.active .sub-menu-toggle::after {
        transform: rotate(-90deg) !important;
        /* always point right (>) */
    }

    html body header.header .main-menu .menu-item a {
        padding: 8px 0 !important;
        color: var(--Sennovate-Dark-blue, #051630) !important;
        font-family: var(--sennovate-medium-font) !important;
        font-size: 18px !important;
        font-weight: 500 !important;
        line-height: 130% !important;
    }

    /* Force all layout columns inside sub-menus to stack vertically and take 100% width on mobile viewports, EXCEPT those explicitly marked to remain side-by-side */
    html body header.header .main-menu .sub-menu .wp-block-columns:not(.is-not-stacked-on-mobile) {
        display: flex !important;
        flex-direction: column !important;
        flex-wrap: nowrap !important;
        width: 100% !important;
        margin: 0;
    }

    html body header.header .main-menu .sub-menu .wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column {
        flex-basis: 100% !important;
        max-width: 100% !important;
        width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-bottom: 20px;
    }

    header.header .main-menu .menu-item:last-child {
        border-bottom: none !important;
    }

    .mega-nav-section {
        padding: 0;
    }

    .menus .menu-item-has-meganav .sub-menu .is-layout-constrained>.alignwide .wp-block-group {
        margin: 0 !important;
        padding: 24px 30px 0 !important;
    }

    header.header .main-menu .menu-item .wp-block-group.mega-nav-section a {
        padding: 0 !important;
    }

    .menu-item-has-meganav .wp-block-columns.has-equal-height-columns {
        align-items: center !important;
        padding: 10px;
        margin-top: 14px;
    }

    html body header.header .main-menu .sub-menu .menu-bg-bar {
        margin-left: -20px !important;
        margin-right: -20px !important;
        margin-bottom: -20px !important;
        width: auto !important;
        padding: 24px 20px !important;
        border-bottom-left-radius: 12px !important;
        border-bottom-right-radius: 12px !important;
        border-top-left-radius: 0 !important;
        border-top-right-radius: 0 !important;
        display: none !important;
    }

    .menu-bg-bar .wp-block-group {
        padding: 0 !important;
    }

    .mega-menu-contact-list .wp-block-list {
        gap: 1rem;
        padding: 0;
    }

    header.header .main-menu .menu-item .wp-block-group.mega-nav-section li.has-white-color a {
        font-size: 16px !important;
    }

    html body header.header .menus {
        left: 0px !important;
        right: 0px !important;
    }

    html body header.header .main-menu li.hide-on-desktop.menu-item.menu-item-generated {
        display: block !important;
        padding: 0 !important;
        overflow: visible !important;
        margin-bottom: 40px !important;
    }

    .mega-nav-section p.has-x-xlarge-font-size {
        font-size: 16px !important;
    }

    .sv-header-blog {
        display: none !important;
    }

    html body header.header .main-menu .sub-menu .sv-smenu .wp-block-columns {
        gap: 0;
    }

    .sub-menu.active .mega-nav-columns {
        flex-direction: column;
        height: calc(100vh - 220px);
        overflow: visible;
        padding-bottom: 30px !important;
    }

}

@media(max-width: 800px) {
    html body header.header .main-menu li.hide-on-desktop.menu-item.menu-item-generated {
        margin-bottom: 0px !important;
    }

    .menus .menu-item-has-meganav .sub-menu .is-layout-constrained>.alignwide .wp-block-group {
        padding: 24px 0 0 !important
    }
}


@media (max-width: 400px) {
    header.header .main-menu .menu-item .wp-block-group.mega-nav-section li.has-white-color a {
        font-size: 14px !important;
    }
}

/* Force visibility of the back option when mobile navigation is open (iPad/Nest Hub landscape 1024px compatibility) */
html body.nav-open header.header .main-menu li.hide-on-desktop,
html body.nav-open header.header .main-menu .go-back,
html body.nav-open .hide-on-desktop,
html body.nav-open .go-back {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

html body.nav-open header.header .main-menu .sub-menu .go-back {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Home Hero Banner Local/Manually Uploaded Video Styles */
.banner-media-wrapper video.hero-local-video {
    width: 100% !important;
    aspect-ratio: 16 / 9 !important;
    border-radius: 24px !important;
    object-fit: cover !important;
    display: block !important;
    border: 8px solid #ffffff !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05) !important;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.banner-media-wrapper video.hero-local-video:hover {
    transform: scale(1.02) !important;
}

/* Play button overlay for popup videos */
.has-video-popup {
    position: relative;
    cursor: pointer;
    overflow: hidden;
    border-radius: 24px;
}

.has-video-popup img {
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.has-video-popup:hover img {
    transform: scale(1.02) !important;
}

.has-video-popup .play-button-overlay {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) scale(1) !important;
    z-index: 5 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 76px !important;
    height: 76px !important;
    background: rgba(0, 111, 227, 0.9) !important;
    border-radius: 50% !important;
    box-shadow: 0 10px 30px rgba(0, 111, 227, 0.4) !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    pointer-events: none !important;
    display: none !important;
}

.has-video-popup:hover .play-button-overlay {
    background: #0056b3 !important;
    transform: translate(-50%, -50%) scale(1.1) !important;
    box-shadow: 0 15px 40px rgba(0, 111, 227, 0.6) !important;
}

.has-video-popup .play-button-overlay svg {
    width: 28px !important;
    height: 28px !important;
    fill: #ffffff !important;
    margin-left: 4px !important;
}

/* High-fidelity modal wrapper styling for HTML5 video popup */
.modal-video-container {
    padding: 15px !important;
    background: #000000 !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    max-width: 960px !important;
    margin: 0 auto !important;
    border: 4px solid #1a1a1a !important;
}

.modal-video-player {
    width: 100% !important;
    aspect-ratio: 16 / 9 !important;
    display: block !important;
    border-radius: 8px !important;
    background: #000000 !important;
    outline: none !important;
}

.archive .latest-post-event-news {
    display: none;
}

.latest-post-event-news-wrap {
    margin-top: 0;
}

.post-content {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 30px;
}

.archive .post-main .archive-posts {
    margin-top: 80px;
}

@media(max-width:1024px) {
    .archive .post-main .archive-posts {
        margin-top: 40px;
    }
}

@media(max-width:767px) {
    .archive .post-main .archive-posts {
        margin-top: 0;
    }
}