.debug-plugins {
    position: fixed;
    z-index: 500;
    left: 0;
    padding: 8px 10px;
    top: 20vh;
    max-width: 80vw;
    max-height: 70vh;
    overflow: auto;
    background-color: #fff;
    color: #444;
    white-space: pre;
    font-size: 13px;
    line-height: 14px;
}

.debug-scripts {
    position: fixed;
    z-index: 500;
    right: 0;
    padding: 8px 10px;
    top: 20vh;
    max-width: 80vw;
    max-height: 70vh;
    overflow: auto;
    background-color: #fff;
    color: #444;
    white-space: pre;
    font-size: 13px;
    line-height: 14px;
}

.debug-generation {
    position: fixed;
    z-index: 500;
    padding: 10px;
    left: 0;
    bottom: 0;
    background: #fd0;
    color: #444;
    font-size: 13px;
    line-height: 14px;
}

/* fixing FE styles, which has extra fixed footer */
#footer {
    padding-bottom: 24px;
}

/* fix button <a> in Hero C module */
.module_hero_c .content a {
    border-radius: 8px 0 0 0;
}

.module_hero_c.flip a {
    border-radius: 0 8px 0 0;
}

.module_hero_c a:hover {
    text-decoration: none;
    outline: none;
}

/* fix header demo and login buttons */
header .part_button_1:hover,
header .part_button_2:hover {
    text-decoration: none;
}

/* add fixes to industries module */
.module_industries .layout_list > div {
    position: relative; /* contains the absolute .card_b */
}

.module_industries .layout_list .card_b {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.module_industries .layout_list > div:hover .card_b {
    opacity: 0;
}

.module_industries .layout_list > div:hover .card_b_alt a {
    position: relative;
    z-index: 10;
}

/* fix for faqs module */
.module_faq .side-by-side-con.single-column strong {
    font-weight: 700;
}

.module_faq .side-by-side-con.single-column a {
    text-decoration: underline;
    color: var(--tk-faq-open-hdr);
}

/* fix for FAQs Two Columns module */
.custom-faqs-wrp h4 {
    line-height: normal;
    font-weight: 500;
    color: var(--tk-faq-open-hdr);
    font-size: 1.25rem;
}

@media (max-width: 1024px) {
    .module_faq .subtitle {
        font-size: clamp(1.25rem, 1.25rem + 0vw, 1.25rem);
    }
}

/* fix strong text in wysiwyg module */
/* fix strong text in video details page */
.module_wysiwyg p strong,
.module_wysiwyg strong,
.module_wysiwyg b,
.single-videos .module_video_detail .holder-1055 strong,
.single-videos .module_video_detail .holder-1055 strong b {
    font-weight: 700;
}

/* h2 fix in module_50-50_alt module */
.module_50-50_alt .holder-948 h2 {
    font-size: 1.5rem;
    line-height: normal;
    font-weight: 500;
}

@media (max-width: 1024px) {
    .module_50-50_alt .holder-948 h2 {
        font-size: clamp(1.5rem, 1.5rem + 0vw, 1.5rem);
    }
}

/* h2 fix in module_img_and_text module */
.module_img_and_text .group h2 {
    line-height: 1.1;
    font-weight: 500;
    font-size: 2.375rem;
}

@media (max-width: 1024px) {
    .module_img_and_text .group h2 {
        font-size: clamp(1.75rem, 1.4659090909rem + 1.4204545455vw, 2.375rem);
    }
}

/* services module button fix */
.module_services .part_button_1:hover {
    text-decoration: none;
}

/* hero a module button fix */
.module_hero_a .part_button_1:hover {
    text-decoration: none;
}

/* fix blog post content formatting */
.single-post .blog-detail-main p strong,
.single-post .blog-detail-main p strong b {
    font-weight: bold;
}

.single-post .blog-detail-main p a {
    color: var(--tk-txt-a-hdr);
    overflow-wrap: break-word;
}

/* blog detail: on tablet/mobile the theme drops top padding to 50px, so the fixed header
   (top:30px, ~80px tall) covered the back link, category and date. */
@media (max-width: 1024px) {
    .single-post .section_two_columns.type-two > .con {
        padding-top: 140px;
    }

    /* let a long category name push the date onto its own line instead of overflowing */
    .single-post .blog-detail-main .top-meta .flex {
        flex-wrap: wrap;
    }
}

/* fix box height in links module */
.pb-module_links .blk_links_list a {
    height: 100%;
}

/* fix module_partners_a content formatting */
.module_partners_a .inner p {
    font-weight: 300;
    line-height: 1.36;
    font-size: 1.375rem;
}

@media (max-width: 1024px) {
    .module_partners_a .inner p {
        font-size: clamp(1.1rem, 0.975rem + 0.625vw, 1.375rem);
    }
}

/* simple template fixes */
.page-template-simple-page {
    .no-hero-image .content,
    .no-hero-image .img-holder {
        background: var(--tk-grad-b-start);
    }

    .module_hero_c .content p {
        line-height: 1;
        margin: 0;
    }

    .no-hero-image .module_hero_c {
        padding-top: 100px;
    }
}

.addsys-loader-bl {
    border-width: 3px;
    display: block;
    width: 60px;
    height: 60px;
    border: 6px solid var(--tk-btn-a-tx);
    border-top-color: var(--tk-btn-a-bg);
    border-radius: 50%;
    animation: addsys-spin 1s linear infinite;
    margin: 0 auto;
    grid-column: 1 / -1;
    position: absolute;
    z-index: 10;
    left: calc(50% - 30px);
    top: 50px;
}

@keyframes addsys-spin {
    to {
        transform: rotate(360deg);
    }
}

/* fix wysiwyg custom buttons */
.module_wysiwyg .part_button_1:hover,
.module_wysiwyg .part_button_2:hover,
.module_video_detail .part_button_1:hover,
.module_video_detail .part_button_2:hover {
    text-decoration: none;
}

/* fix latest videos container width and link */
.single-videos .module_latest_posts .card-wrap > div {
    width: 100%;
}

.single-videos .module_latest_posts .card-wrap .part_button_1:hover {
    text-decoration: none;
}

/* blog post comment form css */
.comment-field-error {
    margin: 0;
    color: #ff0000;
    font-size: 13px;
    display: block;
}

.post-comment-thank-you  {
    color: var(--tk-txt-a-hdr);
    line-height: 1.1;
    font-size: 1.5rem;
    margin-top: 40px;
}

.comment-global-error {
    color: #ff0000;
    font-size: 1.2rem;
    display: block;
    margin: 10px 0 20px 0;
}

.comments-loader-bl {
    border-width: 3px;
    display: block;
    width: 20px;
    height: 20px;
    border: 3px solid var(--tk-btn-a-tx);
    border-top-color: var(--tk-btn-a-bg);
    border-radius: 50%;
    animation: addsys-spin 1s linear infinite;
    z-index: 10;
    float: right;
}

/* fix watch button hover on videos listing page */
.page-template-videos-template .section_two_columns .part_button_1:hover {
    text-decoration: none !important;
}

/* fix event content padding */
.addsys-event-content {
    margin-block-start: 1em;
    margin-block-end: 1em;
}

/* fix event detail map iframe size */
.section_event_detail aside .map-holder iframe {
    width: 100%;
    height: 250px;
}

/* fix events detail featured image */
.single-events .event-details-featured-image {
    aspect-ratio: auto;
}

.single-events .event-details-featured-image img {
    object-fit: initial !important;
    object-position: center !important;
    position: relative;
}

.event-no-location .site-sidebar .block_list_1 {
    margin-top: 15px;
}

.addsys-el-title-link:hover {
    text-decoration: none;
}

/* fix link in card c module */
.blk_card_e:hover .addsys-back-side {
    pointer-events: auto;
}

.addsys-back-side a {
    color: var(--tk-txt-a-hdr);
    text-decoration: underline;
}

/* fix header :focus-visible and :hover */
#header :focus-visible {
    text-decoration: none;
}

#header .nav-list li .container ul li a:hover {
    text-decoration: underline;
}

/* BTC template fixes */
.page-template-btc-template {
    .module_hero_b .txt-holder .part_button_1:hover {
        text-decoration: none;
    }

    .side.attend-tab-side-desc p {
        font-weight: 300;
        line-height: 1.55;
        font-size: 1.125rem;
    }

    .side.attend-tab-side-desc h3 {
        line-height: normal;
        font-weight: 500;
        font-size: 1.25rem;
    }

    @media (max-width: 1024px) {
        .side.attend-tab-side-desc p {
            font-size: clamp(0.9rem, 0.7977272727rem + 0.5113636364vw, 1.125rem);
        }

        .side.attend-tab-side-desc h3 {
            font-size: clamp(1.25rem, 1.25rem + 0vw, 1.25rem);
        }
    }

    .no-hover-decoration:hover {
        text-decoration: none;
    }

    /* Agenda cards without a date: single full-width column */
    .module_agenda .schedule-card.no-date {
        grid-template-columns: 1fr;
    }

    .module_agenda .schedule-card.no-date .details {
        border-radius: 12px;
    }

    .btc-activities-content h2 {
        font-size: 2.375rem;
        line-height: 1.1;
        font-weight: 500;
    }

    .btc-activities-content p {
        margin: 0;
    }

    @media (max-width: 1024px) {
        .btc-activities-content h2 {
            font-size: clamp(1.75rem, 1.4659090909rem + 1.4204545455vw, 2.375rem);
        }

        #sfsi_plus_floater {
            display: none;
        }
    }

    .module_podcast .group a:hover,
    .btc-hotel-button:hover {
        text-decoration: none;
    }

    .bts-companies-section .c2 .holder {
        height: 100%;
    }

    .bts-companies-section .box .prt_title_20 {
        position: relative;
    }
}

.video-item-title-link:hover {
    text-decoration: none;
}

.single-videos .holder-1055 p {
    font-weight: 300;
    line-height: 1.55;
    font-size: 1.125rem;
}

.single-videos .module_video_detail .holder-1055 a {
    text-decoration: underline;
}

@media (max-width: 1024px) {
    .single-videos .holder-1055 p {
        font-size: clamp(0.9rem, 0.7977272727rem + 0.5113636364vw, 1.125rem);
    }
}

.page-template-videos-template form label,
.page-template-videos-template .form label,
.blog form label,
.blog .form label {
    text-transform: none;
}

@media (min-width: 1025px) {
    .module_hero_a .bottom-panel {
        left: 0;
        right: calc((100% - 100vw + var(--scrollbar-w, 0px)) / 2);
        width: auto;
    }
}

@media (max-width: 1024px) {
    .module_hero_a .bottom-panel .part_button_2,
    .module_hero_a .bottom-panel .part_button_1 {
        min-width: 50vw;
        box-sizing: border-box;
    }
}

.img-video-wrap-custom {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
}

.faq-accordion-btn-block a {
    margin: 0 auto;
}

.wrap.disable-list-top-margin ul,
.wrap.disable-list-top-margin ol {
    margin-top: 0;
}

.bottom-padding-100 {
    padding-bottom: 100px;
}

.pb-module_cards_c .card-wrap .part_icon_1 {
    width: 60px;
}

/* Cards C: the hover back side used to be absolutely positioned, so long descriptions
   overflowed the fixed-height card. Stack front and back in the same grid cell instead,
   so the card grows to fit whichever side is taller. */
.module_cards_c .blk_card_e {
    display: grid;
    grid-template: 1fr / 1fr;
}
.module_cards_c .blk_card_e > .card_txt,
.module_cards_c .blk_card_e > .back-side {
    grid-area: 1 / 1;
    min-width: 0;
}
.module_cards_c .blk_card_e > .card_txt {
    place-self: center;
}
.module_cards_c .blk_card_e > .back-side {
    position: relative;
    inset: auto;
    place-self: stretch;
    /* cover the card's padding, like inset:0 did */
    margin: calc(-1 * var(--spc-xxmd));
    justify-content: center;
}
.module_cards_c .blk_card_e .back-side .inner-box {
    width: 100%;
    overflow-wrap: anywhere;
}
/* Pagination: the active page is an editable number input styled like the old span. */
input.pagination__page {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    background: transparent;
    font-family: inherit;
    text-align: center;
    -moz-appearance: textfield;
    appearance: none;
}
input.pagination__page:focus {
    outline: 2px solid var(--tk-txt-b-hdr);
    outline-offset: 2px;
}

/* Product tabs: inactive tab text in brand blue instead of 20% gray so it reads as clickable. */
.module_tabs .tablist button:not([aria-selected=true]) {
    color: var(--tk-cta-a-hdr);
}

/* Product tabs ("ADD Systems Products"): two-state card like the /products/ module.
   .card_c (icon + title) overlays .card_b_alt (full card); hover or keyboard focus reveals the full card.
   The full card stays in flow (opacity 0) so it defines the tile height. */
.module_tabs .listing_cards .card-wrap--swap {
    position: relative;
}
.module_tabs .listing_cards .card-wrap--swap .card_c {
    position: absolute;
    inset: 0;
    z-index: 1;
    opacity: 1;
}
.module_tabs .listing_cards .card-wrap--swap .card_b_alt {
    background: #fff;
    opacity: 0;
    pointer-events: none;
}
.module_tabs .listing_cards .card-wrap--swap:hover .card_c,
.module_tabs .listing_cards .card-wrap--swap:focus-within .card_c {
    opacity: 0;
    pointer-events: none;
}
.module_tabs .listing_cards .card-wrap--swap:hover .card_b_alt,
.module_tabs .listing_cards .card-wrap--swap:focus-within .card_b_alt {
    opacity: 1;
    pointer-events: all;
}
/* Touch devices have no hover: always show the full card so the description and button are reachable. */
@media (hover: none) {
    .module_tabs .listing_cards .card-wrap--swap .card_c {
        display: none;
    }
    .module_tabs .listing_cards .card-wrap--swap .card_b_alt {
        opacity: 1;
        pointer-events: all;
    }
}

/* Services accordion: the desktop min-width (380px) on the open item made it wider
   than the stacked mobile column, causing horizontal scroll and clipped text. */
@container (max-width: 1024px) {
    .accordion-holder .accordion-item.is-active {
        min-width: 0;
    }
    .accordion-holder .accordion {
        overflow-x: hidden;
    }
}

/* Video + image/text module: at <=1024px the theme shrinks the invisible play overlay
   (.thumb-icon) to a 64x64 box in the top-left corner. Taps elsewhere passed through the
   poster (pointer-events:none) straight to the Vimeo iframe, so the video started playing
   behind the poster without the JS ever adding .is-started to hide it.
   Keep the overlay covering the whole video so the click handler always runs. */
.module_video-or-image_text .prt_video_a .thumb-icon {
    width: 100%;
    height: 100%;
    min-width: 100%;
    max-width: 100%;
}


/* WP Rocket lazy render (content-visibility:auto) clips the contact banner's intentional overlap into the footer. */
.blk_row[data-wpr-lazyrender]:has(.module_contact.margin-bottom) {
    content-visibility: visible;
}

/* Mobile readability (client request): larger, slightly darker text for the mobile menu
   and the checkbox labels in the blog Filters popup. The theme's fluid clamp() sizes
   shrank these to ~9.8-11.5px on phones. */
.mobile-panel ul button,
.mobile-panel ul a {
    font-size: 1rem;
    color: var(--dark-850); /* #333333, was #545454 */
}
.mobile-panel ul li ul a {
    font-size: 0.875rem;
    color: var(--dark-850);
}
.mdl_dialog_filters input.cb[type=checkbox] + label {
    font-size: 0.875rem;
    color: var(--dark-750); /* #545454, was #808184 */
}

/* Mobile menu: the list's 12px flex gap added extra space above every item on top of the
   li's symmetric 24px padding (36px above vs 24px below the text). Remove the gap on the
   top-level list so spacing is even; sub-menus keep their gap. */
.mobile-panel nav > ul {
    gap: 0;
}

/* Multimedia (/multimedia/, videos template): sidebar filter labels used the default
   checkbox label style (12px desktop, ~9.8px mobile, #808184). Match the blog listing
   sidebar size on desktop and the darker label color used in the Filters popup. */
.type-two.bl-list-content aside input.cb[type=checkbox] + label {
    font-size: 1rem;
    color: var(--dark-750); /* #545454, was #808184 */
}
@media (max-width: 1024px) {
    .type-two.bl-list-content aside input.cb[type=checkbox] + label {
        font-size: 0.875rem;
    }
}

/* Blog + Multimedia filters: the 24px checkbox (label::before / checkmark ::after) is pinned
   to top:0 while the label text sits in a taller line box (line-height:2), so the text sat
   below the box's center. Center the box on the label's first line (1lh = one line height),
   which also keeps it aligned with the first line if a long label wraps. */
.bl-list-content aside input.cb[type=checkbox] + label::before,
.bl-list-content aside input.cb[type=checkbox] + label::after,
.mdl_dialog_filters input.cb[type=checkbox] + label::before,
.mdl_dialog_filters input.cb[type=checkbox] + label::after {
    top: calc((1lh - 24px) / 2);
}

/* Blog cards: category badge sits inline after the date in .card_txt (moved out of .img-video-wrap).
   .card-meta puts date + badge on one row; the badge keeps the card-badge sizing without the
   absolute positioning. */
.blk_card_d .card_txt .card-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}
.blk_card_d .card_txt .badge {
    background-color: #8AC542;
    color: #1C2459;
    font-weight: 300;
    min-height: 20px;
    text-transform: capitalize;
    font-size: 0.625rem;
    padding: var(--spc-xxs) var(--spc-sm);
}
@media (max-width: 1024px) {
    .blk_card_d .card_txt .badge {
        font-size: clamp(0.5rem, 0.4431818182rem + 0.2840909091vw, 0.625rem);
    }
}

/* Sitemap page template (templates/sitemap-template.php): post-type tabs (module_partners_a
   content switcher) with a numbered, nested list per post type in each panel.
   Scoped to the template's body class. */
.page-template-sitemap-template .content-switcher-panel h2 {
    margin-bottom: 20px;
}
.page-template-sitemap-template .sitemap-list ol {
    list-style: decimal;
    padding-left: 24px;
    padding-bottom: 0;
}
.page-template-sitemap-template .sitemap-list ol ol {
    list-style: lower-alpha;
    margin-top: 8px;
}
.page-template-sitemap-template .sitemap-list ol ol ol {
    list-style: lower-roman;
}
.page-template-sitemap-template .sitemap-list li {
    margin-bottom: 8px;
}
.page-template-sitemap-template .sitemap-list a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.page-template-sitemap-template .sitemap-list a:hover,
.page-template-sitemap-template .sitemap-list a:focus-visible {
    text-decoration-thickness: 2px;
}
