.help-banner-top {
    width: 100vw;
    max-width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: url('images/help-page-banner.webp') no-repeat center center;
    background-size: cover;
    min-height: 220px;
    box-sizing: border-box;
    padding: 40px 0;
}

.site-branding .part1-mobile {
    display: flex;
    justify-content: start;
    align-items: center;
}

.site-branding .return-to-site {
    margin-left: auto;
    padding: 2px 10px 2px 0;
    border-right: 1px solid #CFCFCF;
}

.site-branding .return-to-site a, .site-branding .choose-language a {
    font-size: 15px;
    font-weight: 600;
    display: flex;
    align-items: center;
}

.site-branding .return-to-site svg {
    width: 14px;
    height: 14px;
    margin-right: 10px;
}

.site-branding .choose-language svg {
    width: 18px;
    height: 18px;
    margin-right: 10px;
}

.site-branding .custom-logo-link {
    display: flex;
    align-items: center;
}

.site-branding .choose-language {
    padding: 2px 0 2px 10px;
}

.help-banner-top h1 {
    font-size: 40px;
    font-weight: 700;
    color: white;
    margin-bottom: 35px;
    margin-top: 0px;
}

.help-banner-top .search-input-wrapper {
    position: relative;
    width: 60%;
}

.help-banner-top .search-input-wrapper input {
    border-radius: 50px;
    width: 100%;
    font-size: 18px;
    line-height: 24px;
    box-shadow: 2px 4px 4px 0px #00000026;
    padding: 25px 90px 25px 25px;
    position: relative;
    transition: all 0.5s ease;
}

.help-banner-top .search-input-wrapper input:focus, .help-banner-top .search-input-wrapper input:active {
    outline: none !important;
}

.help-banner-top .search-input-wrapper input.showResults {
    border-bottom-left-radius: 0px !important;
    border-bottom-right-radius: 0px !important;
}

.help-banner-top .search-input-wrapper .search-icon {
    position: absolute;
    top: 51%;
    right: 35px;
    transform: translateY(-50%);
    pointer-events: none; /* Ensures the icon doesn't interfere with input clicks */
    background: transparent;
    border: 0;
}

.faq-heading {
    font-size: 24px;
    font-weight: 700;
    text-align: center;
}

.top-articles-wrapper, .help-articles-grid {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
    justify-content: center;
}

.help-articles-grid {
    justify-content: start;
}

.top-articles-wrapper a, .help-articles-grid a {
    border-radius: 25px;
    border: 1px solid #B3B3B3;
    padding: 24px 16px;
    flex-grow: 1;
    flex-shrink: 0;
    flex-basis: calc((100% - (32px * 2)) / 3);
}

.top-articles-wrapper:has(a:only-child) a {
    flex-grow: 0;
    flex-basis: 50%;
}

.help-articles-grid:has(a:only-child) a {
    flex-grow: 0;
    flex-basis: 100%;
}

.help-articles-grid:has(a:nth-child(1)):has(a:nth-child(2)) a {
    flex-grow: 0;
    flex-basis: calc(50% - 32px);
}

.top-article h3, .help-articles-grid article h3 {
    color: #1C1C1C;
    font-size: 18px;
    font-weight: 700;
    margin: 0px 0px 8px 0px;
}

.top-article h3 svg, .help-articles-grid article h3 svg {
    color: #1C1C1C;
    height: 21px;
    position: relative;
    top: 3px;
    width: auto;
}

.top-article p, .help-articles-grid article p {
    color: #1C1C1C;
    font-size: 16px;
    font-weight: 400;
    margin: 0;
}

.entry-content.content-lower {
    margin: 64px 0px 72px 0px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
}

.entry-content.content-lower a .article {
    border: 1px solid #B3B3B3;
    border-radius: 25px;
    padding: 16px 32px;
    display: flex;
    gap: 64px;
}

.entry-content.content-lower a .article .icon {
    display: flex;
    align-items: center;
}

.entry-content.content-lower a .article .icon img {
    width: 48px;
    height: 48px;
    max-width: none;
    max-height: none;
}

.entry-content.content-lower a .article .content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.entry-content.content-lower a .article .content h4 {
    color: black;
    font-size: 18px;
    font-weight: 700;
    margin: 0;
}

.entry-content.content-lower a .article .content p {
    color: black;
    font-size: 16px;
    font-weight: 400;
    margin: 4px 0 0 0;
}

.entry-content.content-lower a .article .content span {
    font-size: 14px;
    font-weight: 400;
    color: #707070;
    margin: 14px 0 0 0;
}

.help-articles {
    margin-bottom: 40px;
}

.help-banner-top .breadcrumbs {
    margin-top: 30px;
    width: 60%;
    text-align: left;
    padding: 2px 3px;
}

.help-banner-top:has(.breadcrumbs) {
    padding: 40px 0 20px 0;
}

.help-banner-top .breadcrumbs nav {
    margin: 0;
}

.help-banner-top .breadcrumbs nav, .help-banner-top .breadcrumbs nav a, .help-banner-top .breadcrumbs nav a:visited, .help-banner-top .breadcrumbs nav a:active, .help-banner-top .breadcrumbs nav a:hover {
    color: white;
}

.help-banner-top .breadcrumbs nav a {
    font-weight: 600;
}

@media (max-width: 1000px) {
    .help-banner-top h1 {
        text-align: center;
        font-size: 32px;
        line-height: 1.2;
    }
}

@media (max-width: 800px) {
    .site-branding .return-to-site, .site-branding .choose-language {
        display: none;
    }

    .site-branding .logo-div {
        height: 35px;
        margin: 0 auto 0 calc(50% - 129px);
        width: 182px;
    }

    .site-branding .logo-div a, .site-branding .logo-div a picture {
        height: 100%;
    }

    .site-branding .logo-div img {
        height: 100%;
        max-width: none;
        width: auto;
    }

    .help-banner-top h1 {
        text-align: center;
        font-size: 28px;
        line-height: 1.2;
    }

    .help-banner-top .search-input-wrapper input {
        line-height: 21px;
        font-size: 16px;
        padding: 15px 80px 15px 20px;
        border-radius: 40px;
    }

    .help-banner-top .search-input-wrapper {
        width: 95%;
        margin: 0 2.5%;
    }

    .help-banner-top .search-input-wrapper .search-icon {
        top: 55%;
        right: 25px;
    }

    .help-banner-top .search-input-wrapper .search-icon svg {
        width: 25px;
        height: auto;
    }
    
    .entry-content.content-lower, .entry-content {
        padding: 0 10px;
    }

    .entry-content.content-lower a .article {
        gap: 24px;
        padding: 12px 24px;
    }

    .entry-content.content-lower {
        margin: 32px 0 36px 0;
    }

    .top-articles-wrapper {
        gap: 12px;
    }

    .top-articles-wrapper a {
        flex-basis: 100% !important;
    }

    .help-banner-top .breadcrumbs {
        width: 95%;
        margin: 15px 2.5% 0;
    }

    .help-banner-top:has(.breadcrumbs) {
        padding: 30px 0 10px 0;
    }

    #main article {
        padding: 0 10px;
    }

    #primary .page-header {
        padding: 0px 12px;
    }

    .help-articles {
        padding: 0px 10px;
    }

    .help-articles-grid {
        gap: 12px;
    }

    .help-articles-grid a {
        flex-basis: 100% !important;
        padding: 18px 12px;
    }

    .menu-help-page-menu-container .main-site a::before {
        content: '';
        background-image: url('images/link-out.svg');
        background-repeat: no-repeat; /* Ensures the image doesn't repeat */
        background-position: center; /* Center the SVG */
        background-size: contain; /* Scales the SVG to fit its container */
        width: 14px; /* Set the desired width */
        height: 14px; /* Set the desired height */
        color: black;
    }

    .menu-help-page-menu-container .change-language a::before {
        content: '';
        background-image: url('images/globe-svg.svg');
        background-repeat: no-repeat; /* Ensures the image doesn't repeat */
        background-position: center; /* Center the SVG */
        background-size: contain; /* Scales the SVG to fit its container */
        width: 18px; /* Set the desired width */
        height: 18px; /* Set the desired height */
        color: black;
    }

    .menu-help-page-menu-container .main-site a svg {
        color: black;
    }
}

@media (min-width: 800px) {
    div#categoryModal {
        display: none;
    }
}

.search.post-type-archive-help_article header.page-header {
    margin-top: 15px;
    margin-bottom: 25px;
}

.loading-icon {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.ajax-search-results {
    display: none;
    position: absolute;
    background: #fff;
    border: 1px solid #ccc;
    width: 100%;
    z-index: 1000;
    max-height: 500px;
    overflow-y: auto;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-top: 0px;
    border-bottom-left-radius: 50px;
    border-bottom-right-radius: 50px;
}

.ajax-search-results .ajax-result-item {
    padding: 10px 25px 5px 25px;
    border-bottom: 1px solid #BBB;
}

.ajax-search-results .ajax-result-item a, .ajax-search-results .ajax-result-item a:active, .ajax-search-results .ajax-result-item a:visited,
.ajax-search-results .ajax-result-item a:hover {
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    color: #1C1C1C;
}

.ajax-search-results .ajax-result-item a strong svg {
    color: #1C1C1C;
    height: 21px;
    width: auto;
    position: relative;
    top: 3px;
}

.ajax-search-results .ajax-result-item a p {
    margin: 8px 0 12px 0;
}


.ajax-search-results .ajax-show-all {
    text-align: center;
    padding: 5px 25px 8px 25px;
}

.ajax-search-results .ajax-no-results, .ajax-search-results .ajax-error {
    text-align: center;
    padding: 5px 25px 8px 25px;
}

.ajax-search-results .ajax-show-all a, .ajax-search-results .ajax-show-all a:visited, .ajax-search-results .ajax-show-all a:active, .ajax-search-results .ajax-show-all a:hover {
    color: #7E8287;
    text-transform: uppercase;
    font-size: 14px;
    border-bottom: 1px dashed #7E8287;
}

.help_article-template-default figcaption {
    display: none !important;
}