.LoginDetail__signup, .LoginDetail__signin {
    display: none;
}
[data-id="Madwire_Internal_logo_image"] img {
    max-width: 200px !important;
    max-height: 47px !important;
    aspect-ratio: unset !important;
}
[data-id="Madwire_Internal_description"] {
    display: none;
}
.madwireinternal.TitleContainer__container {
    padding: 1.25rem;
}
.Footer__footer a {
    color :#bdbec0;
}
.Header__nav #portal_tabHome,
.Header__nav #portal_tabSolutions {
    display: none;
}
.Header__menuWrapper {
    background: white;
    -webkit-box-shadow: 3px 0 15px 0 rgba(0, 0, 0, .05);
    -moz-box-shadow: 3px 0 15px 0 rgba(0,0,0,.05);
    box-shadow: 3px 0 15px 0 rgba(0, 0, 0, .05);
}
.Header__titleSearchBox {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

/* Header Font Weight */
.Header__welcomeTitle {
    font-weight: 600;
}

/* Header Padding Fixes */
.Header__titleDescription {
    padding-bottom: 1rem;
}
.Header__titleSearchBox {
    padding-top: 4rem;
    padding-bottom: 3rem;
}

/* Global Typography & Body Color */
.source-sans-3-body,
.body {
  font-family: "Source Sans Pro", sans-serif;
  font-style: normal;
  font-weight: 400; 
  color: #24282f; 
}

.Header__bgColor {
    opacity: 1;
}
.Header__logo {
    max-width: 10rem;
}
.Header__logotxt {
    display: none;
}
.LoginDetail__signup, .LoginDetail__signin {
    letter-spacing: normal;
}
.Header__searchLink {
    box-shadow: none;
    border: 1px solid #e6e6e6;
}

/* Homepage Category Titles */
.TitleContainer__title>a, .TitleContainer__list_title>a {
    font-weight: 600;
    color: #24282f; 
}

.TitleContainer__title, .TitleContainer__list_title {
    letter-spacing: normal;
}
.ModuleCategoryContainer__hometabs {
    display: none;
}
/*home columns*/
.TitleContainer__container {
    min-height: auto;
}
.TitleContainer__content {
    display: none;
}
.commonStyle__flexAcenter {
    display: block;
    text-align: center;
}
.TitleContainer__headerIcon {
    margin-right: 0;
}
.TitleContainer__gridView .TitleContainer__body, .TitleContainer__content {
    text-align: center;
}
.TitleContainer__header {
    border-bottom: none;
}
.TitleContainer__gridView .TitleContainer__body .TitleContainer__description {
    margin: 0;
}
.TitleContainer__container, .TitleContainer__containerAuto {
    width: 22.5%;
    border-radius: 0;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
}
.TitleContainer__body {
    font-size: 14px;
}
.commonStyle__flexColumn {
    display: block;
}
.TitleContainer__headerIcon img {
    max-height: 40px;
    max-width: 40px;
}
.TitleContainer__container:nth-child(3n)+.TitleContainer__container {
    margin-left: 2.75%;
}
.TitleContainer__container:nth-child(4n)+.TitleContainer__container {
    margin-left: 0;
}
.Header__homeNavbarFixed .Header__searchSubCont {
    background-color: #006dd0;
}

/*knowledge base page edits*/

/* Article Subcategory Titles */
.ModuleItem__moduleTitle {
    font-weight: 400; 
    color: #24282f; 
}

.List__postdet li {
    font-weight: 400;
}

[data-id="article_subcategory"] .ModuleItem__kbSubcategoryImg,
[data-id="article_subcategory"] .ArticleListRightContainer__wrapper .CustomWidgets__widgetIcon {
    margin-right: 0;
    display: none;
}
[data-id="article_subcategory"] .Layout__twoColumn .Layout__layout1,
[data-id="articleList"] .Layout__twoColumn .Layout__layout1 {
    width: 100%;
}
[data-id="article_subcategory"] .Layout__twoColumn .Layout__layout2,
[data-id="articleList"] .Layout__twoColumn .Layout__layout2 {
    display: none;
}
[data-id="article_subcategory"] .KBSubCategoryContainer__boxView {
    border: none;
    box-shadow: none;
      display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    align-content: center;
    gap: 10px;
}
[data-id="article_subcategory"] .ModuleItem__moduleItem {
    width: 32%;
    border: 1px solid #e6e6e6;
}
[data-id="article_subcategory"] .ModuleItem__moduleHeader {
    padding: 1.25rem;
}
[data-id="article_subcategory"] .ModuleItem__moduleDescription {
    display: none;
}
.CustomWidgets__widgetIcon {
    margin-right: 0;
    display: none;
}
table {
  width: 100% !important;
}
.description td {
    padding: .75rem;
}

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

.Footer__footer { 
    background-color: #24282f;
    color: #bdbec0;
    width: 100%;
    padding-top: 3.5rem; 
}

.footer-inner-wrapper {
    max-width: 73.125rem;
    padding: 0 .9375rem 2.5rem;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between; 
    align-items: start;
    gap: 36px;
    width: 100%;
    box-sizing: border-box;
    text-align: left;
}

/* Modified to allow for flex-column button alignment */
.footerCont {
    flex: 1; 
    min-width: 250px; 
    display: flex;
    flex-direction: column;
}

.footerCont h4 {
    font-size: 22px;
    font-weight: 600;
    margin: 0 0 .75rem 0;
}

/* Forces the button down so they all align nicely */
.footerDesc {
    display: flex;
    flex-direction: column;
    flex-grow: 1; 
}

.footerDesc span {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
}

.footerCopy {
    text-align: center;
    width: 100%;
}

.footerBtn {
    margin-top: auto; /* Pushes the button wrapper to the bottom */
}

/* Footer buttons matched to CTA buttons */
.footerBtn button {
    padding: 10px 20px;
    border-radius: 3px;
    background-color: #006dd0;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    border: none;
    margin-top: 1.25rem;
    cursor: pointer;
    transition: background-color 0.2s ease;
    font-family: "Source Sans Pro", sans-serif;
}

.footerBtn button:hover {
    background-color: #005bb5;
}

/* --- NEW FOOTER ELEMENTS (BRAND & LEGAL) --- */

/* Faint divider line */
.footer-divider {
    border: none;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.1); 
    width: 100%;
    margin: 40px 0; 
}

/* Brand Section Flexbox */
.footer-brand-section {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
    flex-wrap: wrap;
    gap: 40px;
}

/* Logo and Trust Badges Wrapper */
.footer-brand-left {
    display: flex;
    flex-direction: column;
    gap: 24px; 
}

.footer-main-logo {
    max-width: 200px;
    height: auto;
}

/* 1x4 Row for the separate badges */
.footer-badges-grid {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px; 
    max-width: 440px; /* Gives them room to span horizontally */
}

.footer-badges-grid a,
.footer-badges-grid > img {
    flex: 1; /* Makes sure they share the row space equally */
    max-width: 90px; /* Constrains max size so they don't get massive */
}

.footer-badges-grid img {
    width: 100%;
    height: auto;
    display: block;
    opacity: 0.8; 
    transition: opacity 0.2s ease;
}

.footer-badges-grid a img:hover {
    opacity: 1; /* Only lights up the linked ones */
}

/* Contact and Apps */
.footer-brand-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end; 
    text-align: right;
}

.footer-contact-info {
    display: flex;
    gap: 40px;
}

.footer-contact-info strong {
    color: #fff;
    font-size: 14px;
    font-weight: 600;
}

.footer-contact-info a {
    color: #bdbec0;
    font-size: 14px;
    text-decoration: none;
    line-height: 1.8;
}

.footer-contact-info a:hover {
    color: #fff;
}

.app-cta {
    font-size: 12px;
    color: #bdbec0;
    margin: 24px 0 12px 0; /* Added breathing room below phone numbers */
}

.footer-app-badges {
    display: flex;
    gap: 12px;
}

.footer-app-badges img {
    height: 40px;
    width: auto;
}

/* Horizontal Legal Bar */
.footer-legal-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 32px; /* Nicely spaced out links */
    width: 100%;
    margin-top: 40px;
    font-size: 13px;
    color: #bdbec0;
}

.footer-legal-bar a {
    color: #bdbec0;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-legal-bar a:hover {
    color: #fff;
}

/* Other Header/Nav rules */
.Header__menu, .Header__menu:after, .Header__menu:before {
    background-color: #24282f;
}
.Header__responsivefreez {
    background-color: rgb(0 109 208 / 95%);
}

/* --- OLD JULIA WIDGET STYLES (Retained per request) --- */
.CustomWidget {
  text-align: center;
}
.CustomWidgetImg img {
    max-width: 550px !important;
}
.CustomWidgetCont h4{
    margin: 0;
    font-size: 22px;
    margin-bottom: .5rem;
}
.CustomWidgetBtn {
    margin-top: .75rem;
    padding-top: .85rem;
}
.CustomWidgetBtn a {
    padding: .85rem 1rem;
    border-radius: 3px;
    background: #006dd0;
    color: white;
    font-size: 16px;
    font-weight: 600;
    border: none;
    margin-top: .75rem;
}
.TitleContainer__container {
    flex-basis: 22.5%;
    flex-grow: 1;
}

/* Mobile responsiveness for footer and homepage category blocks */
@media screen and (max-width: 768px) {
    .footerCont {
        width: 100%; 
    }
  
    .TitleContainer__container {
        flex-basis: 100%;
    }

    .footer-brand-section {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .footer-badges-grid {
        flex-wrap: wrap; /* Allows the 4 badges to stack 2x2 on small phones */
    }

    .footer-brand-right {
        align-items: flex-start;
        text-align: left;
    }
    
    .footer-contact-info {
        flex-direction: column;
        gap: 16px;
    }
    
    .footer-legal-bar {
        gap: 16px;
        flex-direction: column;
    }
}

/* =========================================
   2. SEPARATOR STYLING
   ========================================= */

.global-cta-separator {
    border: none;
    height: 1px;
    background-color: #e6e6e6; 
    margin: 40px auto; 
    width: 100%;
}

/* =========================================
   3. 3-COLUMN CTA WIDGET STYLES
   ========================================= */

.global-cta-section {
    max-width: 100%;
    font-family: "Source Sans Pro", sans-serif;
    color: #24282f; 
}

.global-cta-container {
    display: flex;
    gap: 20px;
    justify-content: space-between;
}

.global-cta-card {
    background: #fff;
    border: 1px solid #d4dadf; /* MATCHED TO ZOHO */
    box-shadow: 0 3px 8px 0 rgba(0, 0, 0, .03); /* MATCHED TO ZOHO */
    border-radius: 0; 
    padding: 24px; 
    display: flex;
    flex-direction: column; 
    flex: 1; 
    box-sizing: border-box;
}

.cta-image-wrapper {
    width: 100%;
    margin-bottom: 20px; 
}

/* Make the link fill the wrapper so the whole image is clickable */
.cta-image-wrapper a {
    display: block;
}

.cta-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px; 
    aspect-ratio: 16 / 9; 
    object-fit: cover; 
    transition: opacity 0.2s ease;
}

/* Subtle image hover effect */
.cta-image-wrapper a:hover img {
    opacity: 0.85;
}

.cta-content-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    text-align: left; 
    align-items: flex-start; 
}

.cta-content-wrapper h4 {
    margin: 0 0 12px 0;
    font-size: 18px;
    font-weight: 600; 
}

/* Prevents the newly linked titles from turning into standard blue links */
.cta-content-wrapper h4 a {
    color: #24282f;
    text-decoration: none;
    transition: color 0.2s ease;
}

/* Title turns blue when hovered to signal it's clickable */
.cta-content-wrapper h4 a:hover {
    color: #006dd0; 
}

.cta-content-wrapper p {
    margin: 0 0 24px 0;
    font-size: 14px;
    color: #24282f; 
    line-height: 1.5;
    font-weight: 400; 
    flex-grow: 1; 
}

.cta-button {
    display: inline-block;
    background-color: #006dd0;
    color: #fff;
    padding: 10px 20px; 
    text-decoration: none;
    border-radius: 3px;
    font-size: 14px; 
    font-weight: 600; 
    transition: background-color 0.2s ease;
}

.cta-button:hover {
    background-color: #005bb5; 
}

@media (max-width: 768px) {
    .global-cta-container {
        flex-direction: column; 
    }
    
    .global-cta-card {
        padding: 24px; 
    }
}

/* =========================================
   ARTICLE BOTTOM UPSELL BANNER (LIGHT THEME)
   ========================================= */

.article-upsell-banner {
    background-color: #ffffff;
    border: 1px solid #d4dadf; /* MATCHED TO ZOHO */
    box-shadow: 0 3px 8px 0 rgba(0, 0, 0, .03); /* MATCHED TO ZOHO */
    border-radius: 0; /* REMOVED BORDER RADIUS */
    padding: 40px 40px 30px; 
    text-align: center;
    margin-top: 40px; 
    font-family: "Source Sans Pro", sans-serif;
    width: 100%;
    box-sizing: border-box;
}

.upsell-content-wrapper {
    max-width: 800px; 
    margin: 0 auto;
}

.article-upsell-banner h2 {
    font-size: 38px; 
    font-weight: 600; 
    line-height: 1.3;
    margin: 0 0 16px 0;
    color: #24282f;
}

/* Adds the exact blue accent */
.article-upsell-banner h2 .highlight {
    color: #006dd0;
}

.article-upsell-banner p {
    font-size: 18px;
    margin: 0 0 36px 0; 
    line-height: 1.5;
    color: #24282f;
}

/* Flex container for the buttons */
.upsell-button-pair {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; 
}

/* Global button base styling */
.article-upsell-banner a {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 3px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
}

/* Primary Button: Solid Blue (Drop Shadow Removed) */
.upsell-btn-primary {
    background-color: #006dd0;
    color: #ffffff;
    border: 1px solid #006dd0;
}

.upsell-btn-primary:hover {
    background-color: #005bb5;
    border-color: #005bb5;
    color: #ffffff;
}

/* Secondary Button: Outlined Blue */
.upsell-btn-secondary {
    background-color: transparent;
    color: #006dd0;
    border: 1px solid #006dd0;
}

.upsell-btn-secondary:hover {
    background-color: #f0f7ff; 
    color: #005bb5;
    border-color: #005bb5;
}

/* Mobile Responsiveness for Upsell Banner */
@media (max-width: 768px) {
    .article-upsell-banner {
        padding: 32px 24px 24px; 
    }
    
    .article-upsell-banner h2 {
        font-size: 28px; 
    }
    
    .article-upsell-banner p {
        margin: 0 0 24px 0; 
    }

    .upsell-button-pair {
        flex-direction: column; 
        width: 100%;
        gap: 12px;
    }

    .article-upsell-banner a {
        width: 100%; 
        box-sizing: border-box; 
    }
}

/* =========================================
   1. VIDEO HERO WIDGET STYLES
   ========================================= */

.video-hero-widget {
    display: flex;
    align-items: center;
    background: #fff;
    border: 1px solid #d4dadf; /* MATCHED TO ZOHO */
    box-shadow: 0 3px 8px 0 rgba(0, 0, 0, .03); /* MATCHED TO ZOHO */
    border-radius: 0;  
    margin: 40px 0;
    width: 100%;
    box-sizing: border-box;
    gap: 40px;
    padding: 32px;
    font-family: "Source Sans Pro", sans-serif;
}

.video-hero-left {
    flex: 1;
    min-width: 50%; 
}

.video-hero-left iframe {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    border-radius: 8px; 
}

.video-hero-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    text-align: left;
    align-items: flex-start; 
}

.video-hero-right h3 {
    font-size: 32px; 
    font-weight: 600; 
    color: #24282f; 
    line-height: 1.3;
    margin: 0 0 16px 0; 
}

/* Added matching blue highlight */
.video-hero-right h3 .highlight {
    color: #006dd0;
}

/* Matched styling to the Upsell Widget */
.video-hero-right .video-description {
    font-size: 16px;
    color: #24282f; 
    margin: 0 0 36px 0;
    line-height: 1.5;
    font-weight: 400; 
}

/* Matched styling to the Upsell Widget Button */
.video-hero-right .btn-primary {
    display: inline-block;
    background-color: #006dd0;
    color: #ffffff;
    border: 1px solid #006dd0;
    padding: 12px 28px; 
    text-decoration: none;
    border-radius: 3px;
    font-size: 16px; 
    font-weight: 600;
    transition: all 0.2s ease;
}

.video-hero-right .btn-primary:hover {
    background-color: #005bb5;
    border-color: #005bb5;
    color: #ffffff;
}

/* Mobile Responsiveness matching the Upsell Widget */
@media (max-width: 768px) {
    .video-hero-widget {
        flex-direction: column;
        padding: 24px;
        gap: 24px;
    }
    
    .video-hero-left {
        min-width: 100%;
    }

    .video-hero-right h3 {
        font-size: 28px; 
    }
    
    .video-hero-right .video-description {
        margin: 0 0 24px 0; 
    }

    .video-hero-right .btn-primary {
        width: 100%; 
        text-align: center;
        box-sizing: border-box;
    }
}
