/*
    my4E Info frontend styling
    ------------------------------------------------------------
    Loaded after HESK's bundled CSS only when the separate customer theme
    "my4e_info" is active. All selectors remain scoped to .theme_my4e_info.
*/

html.theme_my4e_info {
    --my4e-green: #5cbc3a;
    --my4e-green-dark: #2f6f22;
    --my4e-green-mid: #4aa72f;
    --my4e-bg: #f3f7f0;
    --my4e-bg-soft: #f8fbf5;
    --my4e-card: #ffffff;
    --my4e-text: #1f2933;
    --my4e-muted: #52616b;
    --my4e-border: #dfeada;
    --my4e-border-soft: #edf4e9;
    --my4e-warning: #f5a623;
    --my4e-warning-bg: #fff7e8;
    --my4e-radius-lg: 26px;
    --my4e-radius: 18px;
    --my4e-radius-sm: 12px;
    --my4e-shadow: 0 18px 50px rgba(38, 76, 30, .12);
    --my4e-shadow-soft: 0 10px 28px rgba(38, 76, 30, .08);
}

html.theme_my4e_info body.cust-help,
html.theme_my4e_info body.cust-help .wrapper,
html.theme_my4e_info body.cust-help .main,
html.theme_my4e_info body.cust-help .main__content {
    background: var(--my4e-bg) !important;
    background-image: none !important;
    color: var(--my4e-text) !important;
}

html.theme_my4e_info body.cust-help {
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

html.theme_my4e_info .contr {
    max-width: 1120px !important;
}

html.theme_my4e_info .main__content {
    padding-top: 26px !important;
    padding-bottom: 56px !important;
}

/* Header */
html.theme_my4e_info .cust-help .header {
    background: rgba(255,255,255,.94) !important;
    border-bottom: 1px solid var(--my4e-border-soft) !important;
    box-shadow: 0 5px 22px rgba(38, 76, 30, .07) !important;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

html.theme_my4e_info .cust-help .header__inner {
    min-height: 76px !important;
    padding-top: 14px !important;
    padding-bottom: 14px !important;
}

html.theme_my4e_info .cust-help .header__logo {
    color: var(--my4e-green-dark) !important;
    font-weight: 800 !important;
    letter-spacing: -.03em !important;
}

html.theme_my4e_info .cust-help .header__logo::before {
    content: "";
    display: inline-block;
    width: 14px;
    height: 14px;
    margin-right: 10px;
    border-radius: 50%;
    background: var(--my4e-green) !important;
    box-shadow: 0 0 0 6px rgba(92,188,58,.13);
    vertical-align: -1px;
}

html.theme_my4e_info .cust-help .header__nav .nav-item a,
html.theme_my4e_info .cust-help .header .dropdown-select .label span {
    color: var(--my4e-green-dark) !important;
    font-weight: 700 !important;
}

html.theme_my4e_info .breadcrumbs {
    background: transparent !important;
}

html.theme_my4e_info .breadcrumbs__inner {
    padding-top: 18px !important;
    padding-bottom: 8px !important;
}

html.theme_my4e_info .breadcrumbs__inner a,
html.theme_my4e_info .breadcrumbs__inner .last {
    color: var(--my4e-green-dark) !important;
}

/* Hero search */
html.theme_my4e_info .help-search {
    position: relative !important;
    overflow: hidden !important;
    margin: 16px 0 34px !important;
    padding: 52px 30px 44px !important;
    border: 1px solid var(--my4e-border-soft) !important;
    border-radius: var(--my4e-radius-lg) !important;
    background: #f8fbf5 !important;
    background-image: none !important;
    box-shadow: var(--my4e-shadow) !important;
}

html.theme_my4e_info.page-index .help-search::before {
    content: "my4E Info & Support";
    display: inline-block;
    position: relative;
    z-index: 1;
    margin: 0 auto 14px;
    left: 50%;
    transform: translateX(-50%);
    padding: 7px 13px;
    border: 1px solid rgba(92,188,58,.25);
    border-radius: 999px;
    background: rgba(255,255,255,.72);
    color: var(--my4e-green-dark);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .02em;
    text-transform: uppercase;
}

html.theme_my4e_info .search__title {
    position: relative !important;
    z-index: 1 !important;
    margin-bottom: 24px !important;
    color: var(--my4e-text) !important;
    font-size: clamp(30px, 4.5vw, 48px) !important;
    line-height: 1.1 !important;
    letter-spacing: -.045em !important;
}

html.theme_my4e_info .search__form {
    position: relative !important;
    z-index: 1 !important;
    max-width: 780px !important;
    margin-right: auto !important;
    margin-left: auto !important;
}

html.theme_my4e_info .search__form .form-group {
    overflow: hidden !important;
    min-height: 60px !important;
    border: 1px solid var(--my4e-border) !important;
    border-radius: 999px !important;
    background: #fff !important;
    box-shadow: 0 12px 32px rgba(38, 76, 30, .12) !important;
}

html.theme_my4e_info .search__form .form-group input,
html.theme_my4e_info #kb_search {
    min-height: 60px !important;
    border: 0 !important;
    background: transparent !important;
    color: var(--my4e-text) !important;
    font-size: 16px !important;
    box-shadow: none !important;
}

html.theme_my4e_info .search__form .form-group input::placeholder {
    color: #7b8975 !important;
}

html.theme_my4e_info .search__form .search__submit,
html.theme_my4e_info .search__form .icon-search {
    color: var(--my4e-green-dark) !important;
    fill: var(--my4e-green-dark) !important;
}

/* Cards and blocks */
html.theme_my4e_info .article,
html.theme_my4e_info .ticket__body_block,
html.theme_my4e_info .ticket__params .params--block,
html.theme_my4e_info .ticket__params .params--bar,
html.theme_my4e_info .topics,
html.theme_my4e_info .navlink,
html.theme_my4e_info .kb-suggestions.boxed,
html.theme_my4e_info .main__content.notifications .notifications__list,
html.theme_my4e_info .form-submit-ticket,
html.theme_my4e_info .ticket-create,
html.theme_my4e_info .page-login .form-submit-ticket,
html.theme_my4e_info .page-register .form-submit-ticket {
    border: 1px solid var(--my4e-border-soft) !important;
    border-radius: var(--my4e-radius) !important;
    background-color: var(--my4e-card) !important;
    box-shadow: var(--my4e-shadow-soft) !important;
}

html.theme_my4e_info .article {
    overflow: hidden !important;
    padding: 0 !important;
}

html.theme_my4e_info .article__heading {
    padding: 28px 30px 18px !important;
    color: var(--my4e-green-dark) !important;
    letter-spacing: -.025em !important;
}

html.theme_my4e_info .article__heading a {
    color: var(--my4e-green-dark) !important;
}

html.theme_my4e_info .article .block__head,
html.theme_my4e_info .main__content .article .block__head {
    background: transparent !important;
    border-bottom: 1px solid var(--my4e-border-soft) !important;
    box-shadow: none !important;
}

html.theme_my4e_info .tabbed__head {
    padding: 0 30px !important;
}

html.theme_my4e_info .tabbed__head .tabbed__head_tabs {
    border-bottom: 1px solid var(--my4e-border-soft) !important;
}

html.theme_my4e_info .tabbed__head .tabbed__head_tabs li {
    color: var(--my4e-muted) !important;
}

html.theme_my4e_info .tabbed__head .tabbed__head_tabs li.current {
    background: transparent !important;
    color: var(--my4e-green-dark) !important;
    box-shadow: inset 0 -3px 0 var(--my4e-green) !important;
}

html.theme_my4e_info .preview,
html.theme_my4e_info .suggest-preview {
    border-bottom: 1px solid var(--my4e-border-soft) !important;
    background: #fff !important;
    color: var(--my4e-muted) !important;
    box-shadow: none !important;
    transition: background .18s ease, transform .18s ease, box-shadow .18s ease !important;
}

html.theme_my4e_info .preview:hover,
html.theme_my4e_info .suggest-preview:hover,
html.theme_my4e_info .navlink:hover {
    background: #f0faec !important;
    transform: translateY(-1px);
    box-shadow: 0 12px 28px rgba(38, 76, 30, .10) !important;
}

html.theme_my4e_info .preview .preview__title,
html.theme_my4e_info .navlink .navlink__title,
html.theme_my4e_info .suggest-preview .suggest-preview__title,
html.theme_my4e_info .title-link {
    color: var(--my4e-green-dark) !important;
    font-weight: 800 !important;
}

html.theme_my4e_info .preview__text p,
html.theme_my4e_info .navlink__descr,
html.theme_my4e_info .lightgrey {
    color: var(--my4e-muted) !important;
}

html.theme_my4e_info .icon-in-circle,
html.theme_my4e_info .preview .icon-in-circle,
html.theme_my4e_info .navlink .icon-in-circle {
    border-radius: 50% !important;
    background: #eef8ea !important;
    color: var(--my4e-green-dark) !important;
}

html.theme_my4e_info .icon-in-circle .icon,
html.theme_my4e_info .preview .icon-in-circle .icon,
html.theme_my4e_info .navlink .icon-in-circle .icon {
    fill: var(--my4e-green-dark) !important;
}

html.theme_my4e_info .preview:hover .icon-in-circle,
html.theme_my4e_info .navlink:hover > .icon-in-circle {
    background: var(--my4e-green) !important;
}

html.theme_my4e_info .preview:hover .icon-in-circle .icon,
html.theme_my4e_info .navlink:hover > .icon-in-circle .icon {
    fill: #fff !important;
}

/* Buttons */
html.theme_my4e_info .btn,
html.theme_my4e_info .btn-full,
html.theme_my4e_info button.btn,
html.theme_my4e_info input[type="submit"].btn {
    border-radius: 999px !important;
    font-weight: 800 !important;
}

html.theme_my4e_info .btn-full,
html.theme_my4e_info .btn--primary,
html.theme_my4e_info button[type="submit"],
html.theme_my4e_info input[type="submit"] {
    border-color: var(--my4e-green) !important;
    background: var(--my4e-green) !important;
    background-image: none !important;
    color: #fff !important;
    box-shadow: 0 10px 24px rgba(92,188,58,.22) !important;
}

html.theme_my4e_info .btn-full:hover,
html.theme_my4e_info button[type="submit"]:hover,
html.theme_my4e_info input[type="submit"]:hover {
    background: var(--my4e-green-dark) !important;
    background-image: none !important;
}

html.theme_my4e_info .btn-border {
    border-color: var(--my4e-green) !important;
    color: var(--my4e-green-dark) !important;
    background: #fff !important;
}

html.theme_my4e_info .btn-border:hover {
    background: #eef8ea !important;
}

/* Forms */
html.theme_my4e_info .form input.form-control,
html.theme_my4e_info .form textarea.form-control,
html.theme_my4e_info .selectize-input,
html.theme_my4e_info .dropdown-select .label {
    border-color: var(--my4e-border) !important;
    border-radius: var(--my4e-radius-sm) !important;
    background-color: #fff !important;
    color: var(--my4e-text) !important;
    box-shadow: none !important;
}

html.theme_my4e_info .form input.form-control:focus,
html.theme_my4e_info .form textarea.form-control:focus,
html.theme_my4e_info .selectize-input.focus,
html.theme_my4e_info .selectize-input.input-active {
    border-color: var(--my4e-green) !important;
    box-shadow: 0 0 0 4px rgba(92,188,58,.16) !important;
}

html.theme_my4e_info .form-group label,
html.theme_my4e_info .checkbox-custom label,
html.theme_my4e_info .radio-custom label {
    color: var(--my4e-text) !important;
}

/* Knowledge base article readability */
html.theme_my4e_info .ticket.ticket--article {
    max-width: 1060px !important;
    margin-right: auto !important;
    margin-left: auto !important;
}

html.theme_my4e_info .ticket--article .ticket__body_block.naked {
    padding: clamp(28px, 4vw, 50px) !important;
    border-radius: var(--my4e-radius-lg) !important;
    box-shadow: var(--my4e-shadow) !important;
}

html.theme_my4e_info .ticket--article .ticket__body_block h1 {
    margin-bottom: 24px !important;
    color: var(--my4e-green-dark) !important;
    font-size: clamp(30px, 4vw, 44px) !important;
    line-height: 1.12 !important;
    letter-spacing: -.04em !important;
}

html.theme_my4e_info .ticket--article .ticket__body_block h2,
html.theme_my4e_info .ticket--article .ticket__body_block h3,
html.theme_my4e_info .browser-default h2,
html.theme_my4e_info .browser-default h3 {
    color: var(--my4e-green-dark) !important;
    letter-spacing: -.025em !important;
}

html.theme_my4e_info .ticket--article .ticket__body_block p,
html.theme_my4e_info .ticket--article .ticket__body_block li,
html.theme_my4e_info .browser-default p,
html.theme_my4e_info .browser-default li {
    color: var(--my4e-text) !important;
    font-size: 17px !important;
    line-height: 1.72 !important;
}

html.theme_my4e_info .ticket--article .ticket__body_block a,
html.theme_my4e_info .browser-default a {
    color: var(--my4e-green-dark) !important;
    font-weight: 800 !important;
    text-decoration: none !important;
    box-shadow: inset 0 -2px 0 rgba(92,188,58,.25);
}

html.theme_my4e_info .ticket--article .ticket__body_block img,
html.theme_my4e_info .browser-default img {
    max-width: 100% !important;
    height: auto !important;
    border-radius: 16px !important;
    box-shadow: 0 12px 34px rgba(38, 76, 30, .12) !important;
}

html.theme_my4e_info .ticket__block-footer {
    margin-top: 28px !important;
    border-top: 1px solid var(--my4e-border-soft) !important;
    color: var(--my4e-muted) !important;
}

html.theme_my4e_info .ticket__params .params--block,
html.theme_my4e_info .ticket__params .params--bar {
    padding: 22px !important;
}

html.theme_my4e_info .ticket__params .params--block .row {
    border-bottom: 1px solid var(--my4e-border-soft) !important;
}

html.theme_my4e_info .ticket__params .params--block .row .title {
    color: var(--my4e-muted) !important;
}

/* Notices / important info */
html.theme_my4e_info .notification,
html.theme_my4e_info .alert {
    border: 1px solid var(--my4e-border-soft) !important;
    border-radius: var(--my4e-radius) !important;
    box-shadow: var(--my4e-shadow-soft) !important;
}

html.theme_my4e_info .notification.orange,
html.theme_my4e_info .alert.warning {
    border-color: rgba(245,166,35,.28) !important;
    background: var(--my4e-warning-bg) !important;
    color: var(--my4e-text) !important;
}

html.theme_my4e_info .notification.blue,
html.theme_my4e_info .notification.green,
html.theme_my4e_info .alert.success,
html.theme_my4e_info .alert.none {
    border-color: rgba(92,188,58,.28) !important;
    background: #f3fbef !important;
    color: var(--my4e-text) !important;
}

html.theme_my4e_info .browser-default blockquote,
html.theme_my4e_info .my4e-important-info,
html.theme_my4e_info .my4e-notice-card {
    position: relative !important;
    margin: 24px 0 !important;
    padding: 22px 24px 22px 28px !important;
    border: 1px solid rgba(245,166,35,.25) !important;
    border-left: 6px solid var(--my4e-warning) !important;
    border-radius: 18px !important;
    background: var(--my4e-warning-bg) !important;
    box-shadow: 0 10px 28px rgba(115, 80, 16, .08) !important;
}



/* v5/v6: custom message boxes should use a flat background, no top/diagonal gradient */
html.theme_my4e_info .browser-default .my4e-info-box,
html.theme_my4e_info .browser-default .my4e-tip-box,
html.theme_my4e_info .browser-default .my4e-message-box,
html.theme_my4e_info .browser-default .my4e-success-box,
html.theme_my4e_info .browser-default .my4e-green-box,
html.theme_my4e_info .browser-default .custom-message-box,
html.theme_my4e_info .browser-default .message-box,
html.theme_my4e_info .browser-default .info-box,
html.theme_my4e_info .browser-default .tip-box,
html.theme_my4e_info .browser-default .success-box,
html.theme_my4e_info .browser-default [style*="linear-gradient"][style*="border-left"][style*="5cbc3a"],
html.theme_my4e_info .browser-default [style*="linear-gradient"][style*="border-left"][style*="92,188,58"],
html.theme_my4e_info .browser-default [style*="linear-gradient"][style*="border-left"][style*="green"] {
    background: #f3fbef !important;
    background-image: none !important;
}

html.theme_my4e_info .browser-default .my4e-warning-box,
html.theme_my4e_info .browser-default .my4e-notice-box,
html.theme_my4e_info .browser-default .warning-box,
html.theme_my4e_info .browser-default .notice-box,
html.theme_my4e_info .browser-default [style*="linear-gradient"][style*="border-left"][style*="f5a623"],
html.theme_my4e_info .browser-default [style*="linear-gradient"][style*="border-left"][style*="245,166,35"],
html.theme_my4e_info .browser-default [style*="linear-gradient"][style*="border-left"][style*="orange"] {
    background: var(--my4e-warning-bg) !important;
    background-image: none !important;
}

html.theme_my4e_info .browser-default .my4e-info-box::before,
html.theme_my4e_info .browser-default .my4e-tip-box::before,
html.theme_my4e_info .browser-default .my4e-message-box::before,
html.theme_my4e_info .browser-default .my4e-success-box::before,
html.theme_my4e_info .browser-default .my4e-green-box::before,
html.theme_my4e_info .browser-default .custom-message-box::before,
html.theme_my4e_info .browser-default .message-box::before,
html.theme_my4e_info .browser-default .info-box::before,
html.theme_my4e_info .browser-default .tip-box::before,
html.theme_my4e_info .browser-default .success-box::before,
html.theme_my4e_info .browser-default .my4e-warning-box::before,
html.theme_my4e_info .browser-default .my4e-notice-box::before,
html.theme_my4e_info .browser-default .warning-box::before,
html.theme_my4e_info .browser-default .notice-box::before {
    background: none !important;
    background-image: none !important;
}

/* v6: remove all glow/gradient effects from article message boxes.
   The live KB welcome article contains custom inline-styled boxes; these
   rules intentionally override inline background-image and box-shadow. */
html.theme_my4e_info .browser-default div[style*="border-left" i],
html.theme_my4e_info .browser-default section[style*="border-left" i],
html.theme_my4e_info .browser-default aside[style*="border-left" i],
html.theme_my4e_info .browser-default blockquote[style*="border-left" i],
html.theme_my4e_info .browser-default .my4e-info-box,
html.theme_my4e_info .browser-default .my4e-tip-box,
html.theme_my4e_info .browser-default .my4e-message-box,
html.theme_my4e_info .browser-default .my4e-success-box,
html.theme_my4e_info .browser-default .my4e-green-box,
html.theme_my4e_info .browser-default .my4e-warning-box,
html.theme_my4e_info .browser-default .my4e-notice-box,
html.theme_my4e_info .browser-default .custom-message-box,
html.theme_my4e_info .browser-default .message-box,
html.theme_my4e_info .browser-default .info-box,
html.theme_my4e_info .browser-default .tip-box,
html.theme_my4e_info .browser-default .success-box,
html.theme_my4e_info .browser-default .warning-box,
html.theme_my4e_info .browser-default .notice-box {
    background: #f7fbf5 !important;
    background-image: none !important;
    box-shadow: none !important;
}

html.theme_my4e_info .browser-default div[style*="border-left" i]::before,
html.theme_my4e_info .browser-default div[style*="border-left" i]::after,
html.theme_my4e_info .browser-default section[style*="border-left" i]::before,
html.theme_my4e_info .browser-default section[style*="border-left" i]::after,
html.theme_my4e_info .browser-default aside[style*="border-left" i]::before,
html.theme_my4e_info .browser-default aside[style*="border-left" i]::after,
html.theme_my4e_info .browser-default blockquote[style*="border-left" i]::before,
html.theme_my4e_info .browser-default blockquote[style*="border-left" i]::after,
html.theme_my4e_info .browser-default .my4e-info-box::before,
html.theme_my4e_info .browser-default .my4e-info-box::after,
html.theme_my4e_info .browser-default .my4e-tip-box::before,
html.theme_my4e_info .browser-default .my4e-tip-box::after,
html.theme_my4e_info .browser-default .my4e-message-box::before,
html.theme_my4e_info .browser-default .my4e-message-box::after,
html.theme_my4e_info .browser-default .my4e-success-box::before,
html.theme_my4e_info .browser-default .my4e-success-box::after,
html.theme_my4e_info .browser-default .my4e-green-box::before,
html.theme_my4e_info .browser-default .my4e-green-box::after,
html.theme_my4e_info .browser-default .my4e-warning-box::before,
html.theme_my4e_info .browser-default .my4e-warning-box::after,
html.theme_my4e_info .browser-default .my4e-notice-box::before,
html.theme_my4e_info .browser-default .my4e-notice-box::after,
html.theme_my4e_info .browser-default .custom-message-box::before,
html.theme_my4e_info .browser-default .custom-message-box::after,
html.theme_my4e_info .browser-default .message-box::before,
html.theme_my4e_info .browser-default .message-box::after,
html.theme_my4e_info .browser-default .info-box::before,
html.theme_my4e_info .browser-default .info-box::after,
html.theme_my4e_info .browser-default .tip-box::before,
html.theme_my4e_info .browser-default .tip-box::after,
html.theme_my4e_info .browser-default .success-box::before,
html.theme_my4e_info .browser-default .success-box::after,
html.theme_my4e_info .browser-default .warning-box::before,
html.theme_my4e_info .browser-default .warning-box::after,
html.theme_my4e_info .browser-default .notice-box::before,
html.theme_my4e_info .browser-default .notice-box::after {
    background: none !important;
    background-image: none !important;
    box-shadow: none !important;
}

html.theme_my4e_info .browser-default .my4e-info-box,
html.theme_my4e_info .browser-default .my4e-tip-box,
html.theme_my4e_info .browser-default .my4e-message-box,
html.theme_my4e_info .browser-default .my4e-success-box,
html.theme_my4e_info .browser-default .my4e-green-box,
html.theme_my4e_info .browser-default div[style*="5cbc3a" i],
html.theme_my4e_info .browser-default div[style*="4aa72f" i],
html.theme_my4e_info .browser-default div[style*="92,188,58" i],
html.theme_my4e_info .browser-default div[style*="green" i],
html.theme_my4e_info .browser-default section[style*="5cbc3a" i],
html.theme_my4e_info .browser-default section[style*="4aa72f" i],
html.theme_my4e_info .browser-default section[style*="92,188,58" i],
html.theme_my4e_info .browser-default section[style*="green" i] {
    background: #f3fbef !important;
    background-image: none !important;
}

html.theme_my4e_info .browser-default .my4e-warning-box,
html.theme_my4e_info .browser-default .my4e-notice-box,
html.theme_my4e_info .browser-default .warning-box,
html.theme_my4e_info .browser-default .notice-box,
html.theme_my4e_info .browser-default div[style*="f5a623" i],
html.theme_my4e_info .browser-default div[style*="245,166,35" i],
html.theme_my4e_info .browser-default div[style*="orange" i],
html.theme_my4e_info .browser-default section[style*="f5a623" i],
html.theme_my4e_info .browser-default section[style*="245,166,35" i],
html.theme_my4e_info .browser-default section[style*="orange" i] {
    background: var(--my4e-warning-bg) !important;
    background-image: none !important;
}

html.theme_my4e_info .browser-default div[style*="e53935" i],
html.theme_my4e_info .browser-default div[style*="d93025" i],
html.theme_my4e_info .browser-default div[style*="f44336" i],
html.theme_my4e_info .browser-default div[style*="red" i],
html.theme_my4e_info .browser-default div[style*="rgb(229" i],
html.theme_my4e_info .browser-default div[style*="rgb(220" i],
html.theme_my4e_info .browser-default section[style*="e53935" i],
html.theme_my4e_info .browser-default section[style*="d93025" i],
html.theme_my4e_info .browser-default section[style*="f44336" i],
html.theme_my4e_info .browser-default section[style*="red" i],
html.theme_my4e_info .browser-default section[style*="rgb(229" i],
html.theme_my4e_info .browser-default section[style*="rgb(220" i] {
    background: #fff4f4 !important;
    background-image: none !important;
}

/* Final safety net: the my4E frontend CSS itself must not add background gradients. */
html.theme_my4e_info body.cust-help,
html.theme_my4e_info body.cust-help .wrapper,
html.theme_my4e_info body.cust-help .main,
html.theme_my4e_info body.cust-help .main__content {
    background-color: var(--my4e-bg) !important;
    background-image: none !important;
}

/* Tables / footer */
html.theme_my4e_info table,
html.theme_my4e_info .table {
    border-radius: var(--my4e-radius) !important;
    overflow: hidden !important;
}

html.theme_my4e_info tr:nth-child(even),
html.theme_my4e_info .ticket-list tbody tr:nth-child(even) {
    background: #f7fbf5 !important;
}

html.theme_my4e_info tr:hover,
html.theme_my4e_info .ticket-list tbody tr:hover {
    background: #eef8ea !important;
}

html.theme_my4e_info .divider {
    height: 1px !important;
    margin: 34px 0 !important;
    background: var(--my4e-border-soft) !important;
}

html.theme_my4e_info .footer {
    background: transparent !important;
    color: var(--my4e-muted) !important;
}

html.theme_my4e_info a,
html.theme_my4e_info a.link,
html.theme_my4e_info .footer a {
    color: var(--my4e-green-dark) !important;
}

html.theme_my4e_info a:hover,
html.theme_my4e_info a.link:hover,
html.theme_my4e_info .footer a:hover {
    color: #1f5317 !important;
}

@media (max-width: 720px) {
    html.theme_my4e_info .main__content {
        padding-top: 16px !important;
        padding-bottom: 36px !important;
    }

    html.theme_my4e_info .help-search {
        margin-top: 10px !important;
        margin-bottom: 24px !important;
        padding: 34px 18px 28px !important;
        border-radius: 22px !important;
    }

    html.theme_my4e_info.page-index .help-search::before {
        font-size: 11px !important;
    }

    html.theme_my4e_info .article__heading,
    html.theme_my4e_info .tabbed__head {
        padding-right: 20px !important;
        padding-left: 20px !important;
    }

    html.theme_my4e_info .ticket--article .ticket__body_block.naked {
        padding: 24px 20px !important;
        border-radius: 20px !important;
    }

    html.theme_my4e_info .preview:hover,
    html.theme_my4e_info .suggest-preview:hover,
    html.theme_my4e_info .navlink:hover {
        transform: none !important;
    }
}

/* v3: make subpages visibly part of the same my4E design language */
html.theme_my4e_info.page-view-article .help-search,
html.theme_my4e_info.page-view-category .help-search,
html.theme_my4e_info.page-search .help-search,
html.theme_my4e_info.page-create-ticket .help-search,
html.theme_my4e_info.page-view-ticket .help-search,
html.theme_my4e_info.page-login .help-search,
html.theme_my4e_info.page-register .help-search {
    padding-top: 32px !important;
    padding-bottom: 30px !important;
}

html.theme_my4e_info.page-view-article .help-search::before,
html.theme_my4e_info.page-view-category .help-search::before,
html.theme_my4e_info.page-search .help-search::before,
html.theme_my4e_info.page-create-ticket .help-search::before,
html.theme_my4e_info.page-view-ticket .help-search::before,
html.theme_my4e_info.page-login .help-search::before,
html.theme_my4e_info.page-register .help-search::before {
    content: "my4E Info";
    display: inline-block;
    margin-bottom: 12px;
    padding: 6px 12px;
    border: 1px solid rgba(92,188,58,.25);
    border-radius: 999px;
    background: rgba(255,255,255,.75);
    color: var(--my4e-green-dark);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .02em;
    text-transform: uppercase;
}

html.theme_my4e_info.page-view-article .ticket.ticket--article {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 310px !important;
    gap: 22px !important;
    align-items: start !important;
}

html.theme_my4e_info.page-view-article .ticket__body,
html.theme_my4e_info.page-view-article .ticket__params {
    min-width: 0 !important;
}

html.theme_my4e_info.page-view-article .ticket__params {
    position: sticky !important;
    top: 22px !important;
}

html.theme_my4e_info.page-view-article .ticket__params .params--block {
    margin-bottom: 18px !important;
}

html.theme_my4e_info.page-view-article .browser-default hr,
html.theme_my4e_info.page-view-article .block--description hr {
    height: 1px !important;
    margin: 34px 0 !important;
    border: 0 !important;
    background: var(--my4e-border-soft) !important;
}

html.theme_my4e_info.page-view-article .browser-default h3,
html.theme_my4e_info.page-view-article .browser-default h4 {
    margin-top: 34px !important;
    margin-bottom: 12px !important;
}

html.theme_my4e_info.page-view-article .browser-default ul,
html.theme_my4e_info.page-view-article .browser-default ol {
    margin-top: 12px !important;
    margin-bottom: 20px !important;
    padding-left: 1.45em !important;
}

html.theme_my4e_info.page-view-category .topics__block,
html.theme_my4e_info.page-view-category .content,
html.theme_my4e_info.page-search .search-results,
html.theme_my4e_info.page-create-ticket .form,
html.theme_my4e_info.page-view-ticket .ticket {
    border-radius: var(--my4e-radius) !important;
}

@media (max-width: 960px) {
    html.theme_my4e_info.page-view-article .ticket.ticket--article {
        display: block !important;
    }

    html.theme_my4e_info.page-view-article .ticket__params {
        position: static !important;
        margin-top: 22px !important;
    }
}

/* v7: reduce vertical spacing between custom article/message cards. */
html.theme_my4e_info .browser-default div[style*="border-left" i],
html.theme_my4e_info .browser-default section[style*="border-left" i],
html.theme_my4e_info .browser-default aside[style*="border-left" i],
html.theme_my4e_info .browser-default blockquote[style*="border-left" i],
html.theme_my4e_info .browser-default .my4e-info-box,
html.theme_my4e_info .browser-default .my4e-tip-box,
html.theme_my4e_info .browser-default .my4e-message-box,
html.theme_my4e_info .browser-default .my4e-success-box,
html.theme_my4e_info .browser-default .my4e-green-box,
html.theme_my4e_info .browser-default .my4e-warning-box,
html.theme_my4e_info .browser-default .my4e-notice-box,
html.theme_my4e_info .browser-default .custom-message-box,
html.theme_my4e_info .browser-default .message-box,
html.theme_my4e_info .browser-default .info-box,
html.theme_my4e_info .browser-default .tip-box,
html.theme_my4e_info .browser-default .success-box,
html.theme_my4e_info .browser-default .warning-box,
html.theme_my4e_info .browser-default .notice-box {
    margin-top: 20px !important;
    margin-bottom: 22px !important;
}

html.theme_my4e_info .browser-default div[style*="border-left" i] + div[style*="border-left" i],
html.theme_my4e_info .browser-default div[style*="border-left" i] + section[style*="border-left" i],
html.theme_my4e_info .browser-default section[style*="border-left" i] + div[style*="border-left" i],
html.theme_my4e_info .browser-default section[style*="border-left" i] + section[style*="border-left" i],
html.theme_my4e_info .browser-default .my4e-info-box + .my4e-info-box,
html.theme_my4e_info .browser-default .my4e-info-box + .my4e-warning-box,
html.theme_my4e_info .browser-default .my4e-warning-box + .my4e-info-box,
html.theme_my4e_info .browser-default .my4e-notice-box + .my4e-info-box,
html.theme_my4e_info .browser-default .my4e-notice-box + .my4e-warning-box,
html.theme_my4e_info .browser-default .custom-message-box + .custom-message-box,
html.theme_my4e_info .browser-default .message-box + .message-box,
html.theme_my4e_info .browser-default .info-box + .info-box,
html.theme_my4e_info .browser-default .warning-box + .info-box,
html.theme_my4e_info .browser-default .notice-box + .info-box {
    margin-top: 18px !important;
}

/* Remove artificial whitespace paragraphs that often appear between imported/custom HTML boxes. */
html.theme_my4e_info .browser-default p:empty {
    display: none !important;
}

html.theme_my4e_info .browser-default div[style*="border-left" i] + p:empty,
html.theme_my4e_info .browser-default section[style*="border-left" i] + p:empty {
    display: none !important;
}

@media (max-width: 720px) {
    html.theme_my4e_info .browser-default div[style*="border-left" i],
    html.theme_my4e_info .browser-default section[style*="border-left" i],
    html.theme_my4e_info .browser-default aside[style*="border-left" i],
    html.theme_my4e_info .browser-default blockquote[style*="border-left" i],
    html.theme_my4e_info .browser-default .my4e-info-box,
    html.theme_my4e_info .browser-default .my4e-tip-box,
    html.theme_my4e_info .browser-default .my4e-message-box,
    html.theme_my4e_info .browser-default .my4e-success-box,
    html.theme_my4e_info .browser-default .my4e-green-box,
    html.theme_my4e_info .browser-default .my4e-warning-box,
    html.theme_my4e_info .browser-default .my4e-notice-box,
    html.theme_my4e_info .browser-default .custom-message-box,
    html.theme_my4e_info .browser-default .message-box,
    html.theme_my4e_info .browser-default .info-box,
    html.theme_my4e_info .browser-default .tip-box,
    html.theme_my4e_info .browser-default .success-box,
    html.theme_my4e_info .browser-default .warning-box,
    html.theme_my4e_info .browser-default .notice-box {
        margin-top: 16px !important;
        margin-bottom: 18px !important;
    }
}

/* v8: reduce the real homepage/article spacing.
   The large gaps are caused by inline-styled content blocks from the HESK article editor,
   not by the standard .browser-default message-box classes. Therefore we target the
   actual inline blocks globally inside the customer content area. */
html.theme_my4e_info .main__content [style*="border-left" i],
html.theme_my4e_info .ticket__body [style*="border-left" i],
html.theme_my4e_info .block--description [style*="border-left" i],
html.theme_my4e_info .article [style*="border-left" i] {
    margin-top: 18px !important;
    margin-bottom: 22px !important;
}

/* Consecutive/custom content blocks should sit closer together even if they are
   separated by wrapper elements from the editor. */
html.theme_my4e_info .main__content [style*="border-left" i] + [style*="border-left" i],
html.theme_my4e_info .ticket__body [style*="border-left" i] + [style*="border-left" i],
html.theme_my4e_info .block--description [style*="border-left" i] + [style*="border-left" i],
html.theme_my4e_info .article [style*="border-left" i] + [style*="border-left" i] {
    margin-top: 16px !important;
}

/* v13: Collapse only truly empty editor spacer paragraphs.
   Important: do NOT target p:has(> br:only-child). In CSS, :only-child ignores
   text nodes, so a paragraph like "Text<br>Text" can match that selector.
   That caused Shift+Return line breaks from the HESK/TinyMCE editor to render
   with line-height: 0 and the text lines overlapped. */
html.theme_my4e_info .main__content p:empty,
html.theme_my4e_info .ticket__body p:empty,
html.theme_my4e_info .block--description p:empty,
html.theme_my4e_info .article p:empty {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding: 0 !important;
    min-height: 0 !important;
}

/* Safety net for article paragraphs containing manual <br> line breaks.
   This deliberately has higher specificity than the old p:has(> br:only-child)
   rule, so it also fixes pages if a stale/cached stylesheet is still present
   before this file in the cascade. */
html.theme_my4e_info .main__content .browser-default p:has(br),
html.theme_my4e_info .ticket__body .browser-default p:has(br),
html.theme_my4e_info .block--description.browser-default p:has(br),
html.theme_my4e_info .article .browser-default p:has(br),
html.theme_my4e_info .ticket--article .ticket__body_block p:has(br) {
    line-height: 1.72 !important;
    min-height: 0 !important;
}

/* If a spacer paragraph follows a custom card, do not let it create a visual gap. */
html.theme_my4e_info .main__content [style*="border-left" i] + p,
html.theme_my4e_info .ticket__body [style*="border-left" i] + p,
html.theme_my4e_info .block--description [style*="border-left" i] + p,
html.theme_my4e_info .article [style*="border-left" i] + p {
    margin-top: 0 !important;
}

/* The homepage intro block is also edited article content. Keep the gap to the first
   warning/info box compact without touching HESK's normal KB list layout. */
html.theme_my4e_info.page-index .main__content > .article,
html.theme_my4e_info.page-index .main__content .article {
    margin-bottom: 18px !important;
}

@media (max-width: 720px) {
    html.theme_my4e_info .main__content [style*="border-left" i],
    html.theme_my4e_info .ticket__body [style*="border-left" i],
    html.theme_my4e_info .block--description [style*="border-left" i],
    html.theme_my4e_info .article [style*="border-left" i] {
        margin-top: 14px !important;
        margin-bottom: 16px !important;
    }
}

/* v9: remove the light-green outline around the search area and the search input pill. */
html.theme_my4e_info .help-search,
html.theme_my4e_info .search__form .form-group {
    border: 0 !important;
}

html.theme_my4e_info .search__form .form-group input,
html.theme_my4e_info #kb_search {
    outline: none !important;
}

/* v10: remove the pale-green rectangular search wrapper.
   The visible sharp-cornered box is not a border, but the background/shadow
   of the search container/wrappers around the actual white search pill. */
html.theme_my4e_info .help-search,
html.theme_my4e_info .help-search .contr,
html.theme_my4e_info .help-search .search,
html.theme_my4e_info .help-search .search__body,
html.theme_my4e_info .help-search .search__inner,
html.theme_my4e_info .help-search .search__wrapper,
html.theme_my4e_info .help-search .search__container,
html.theme_my4e_info .help-search .search__content,
html.theme_my4e_info .help-search .search__box,
html.theme_my4e_info .help-search .search__form {
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    border: 0 !important;
    box-shadow: none !important;
}

html.theme_my4e_info .help-search::before,
html.theme_my4e_info .help-search::after,
html.theme_my4e_info .help-search .contr::before,
html.theme_my4e_info .help-search .contr::after,
html.theme_my4e_info .help-search .search::before,
html.theme_my4e_info .help-search .search::after,
html.theme_my4e_info .help-search .search__form::before,
html.theme_my4e_info .help-search .search__form::after {
    background: none !important;
    background-image: none !important;
    border: 0 !important;
    box-shadow: none !important;
}

/* Keep the real search control as the only visible element. */
html.theme_my4e_info .help-search .form-group,
html.theme_my4e_info .search__form .form-group {
    background: #ffffff !important;
    background-image: none !important;
    border: 0 !important;
    box-shadow: 0 12px 32px rgba(38, 76, 30, .10) !important;
}

/* v11: mobile search layout fix.
   HESK switches the search form to wrapping rows below 640px. With the my4E
   pill styling this made the green submit button overlap the white search pill.
   On phones we render the search as one sufficiently tall white card containing
   the input row and the submit button. */
@media screen and (max-width: 640px) {
    html.theme_my4e_info .help-search {
        margin-top: 8px !important;
        margin-bottom: 22px !important;
        padding: 0 16px !important;
        overflow: visible !important;
        background: transparent !important;
        box-shadow: none !important;
    }

    html.theme_my4e_info .search__form {
        width: 100% !important;
        max-width: none !important;
        padding: 0 !important;
        overflow: visible !important;
        background: transparent !important;
        box-shadow: none !important;
    }

    html.theme_my4e_info .search__form .form-group {
        display: flex !important;
        flex-direction: column !important;
        flex-wrap: nowrap !important;
        align-items: stretch !important;
        justify-content: flex-start !important;
        gap: 12px !important;
        width: 100% !important;
        max-width: none !important;
        min-height: 0 !important;
        height: auto !important;
        padding: 16px !important;
        overflow: visible !important;
        border-radius: 30px !important;
        background: #ffffff !important;
        background-image: none !important;
        box-shadow: 0 12px 32px rgba(38, 76, 30, .10) !important;
    }

    html.theme_my4e_info .search__form .search__submit {
        position: absolute !important;
        top: 32px !important;
        bottom: auto !important;
        left: 34px !important;
        width: 28px !important;
        height: 28px !important;
        min-width: 0 !important;
        min-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        transform: none !important;
        background: transparent !important;
        box-shadow: none !important;
        z-index: 2 !important;
    }

    html.theme_my4e_info .search__form .form-group .icon-search {
        width: 28px !important;
        height: 28px !important;
        font-size: 28px !important;
    }

    html.theme_my4e_info .search__form .form-group input,
    html.theme_my4e_info #kb_search {
        display: block !important;
        flex: 0 0 auto !important;
        flex-basis: auto !important;
        width: 100% !important;
        height: 60px !important;
        min-height: 60px !important;
        margin: 0 !important;
        padding: 14px 18px 14px 66px !important;
        border: 0 !important;
        border-radius: 999px !important;
        background: #ffffff !important;
        box-shadow: none !important;
        font-size: 18px !important;
        line-height: 1.25 !important;
    }

    html.theme_my4e_info #search-button {
        display: flex !important;
        flex: 0 0 auto !important;
        flex-basis: auto !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        height: 56px !important;
        min-height: 56px !important;
        margin: 0 !important;
        padding: 0 18px !important;
        border-radius: 999px !important;
        font-size: 18px !important;
        line-height: 1 !important;
        white-space: nowrap !important;
    }
}

@media screen and (max-width: 380px) {
    html.theme_my4e_info .help-search {
        padding-right: 10px !important;
        padding-left: 10px !important;
    }

    html.theme_my4e_info .search__form .form-group {
        padding: 14px !important;
        border-radius: 26px !important;
    }

    html.theme_my4e_info .search__form .search__submit {
        top: 30px !important;
        left: 30px !important;
    }

    html.theme_my4e_info .search__form .form-group input,
    html.theme_my4e_info #kb_search {
        padding-left: 60px !important;
        font-size: 17px !important;
    }
}

/* v14: compact vertical rhythm / support UI polish
   ------------------------------------------------------------
   Keep HESK's markup and core styles untouched. These late overrides make
   service messages and ticket conversations more compact without reducing
   readability or touch target sizes. */
html.theme_my4e_info {
    --my4e-gap-xs: 8px;
    --my4e-gap-sm: 12px;
    --my4e-gap-md: 16px;
    --my4e-gap-lg: 22px;
}

/* Service / system messages: HESK renders each message as a .notification.
   The core theme uses 24px bottom margin + 20/28px padding for every item,
   which creates large empty bands when several messages are shown together. */
html.theme_my4e_info .notification {
    overflow: hidden !important;
    margin: 0 0 var(--my4e-gap-sm) !important;
    padding: 14px 18px 14px 22px !important;
    border-radius: 14px !important;
    box-shadow: 0 6px 18px rgba(38, 76, 30, .07) !important;
    line-height: 1.5 !important;
}

html.theme_my4e_info .notification::before {
    width: 5px !important;
}

html.theme_my4e_info .notification p,
html.theme_my4e_info .notification ul,
html.theme_my4e_info .notification ol {
    line-height: 1.5 !important;
}

html.theme_my4e_info .notification p + p,
html.theme_my4e_info .notification p + ul,
html.theme_my4e_info .notification p + ol,
html.theme_my4e_info .notification ul + p,
html.theme_my4e_info .notification ol + p {
    margin-top: 6px !important;
}

/* Consecutive service messages now read as one compact stack. */
html.theme_my4e_info .notification + .notification {
    margin-top: 0 !important;
}

/* When a service message follows the KB search directly, avoid combining the
   search section's large bottom gap with the message's own spacing. */
html.theme_my4e_info .help-search:has(+ .notification) {
    margin-bottom: var(--my4e-gap-md) !important;
}

/* Ticket conversation: retain clear card separation, but remove the oversized
   24px gaps and excessive padding from every short reply. */
html.theme_my4e_info.page-view-ticket .ticket__body_block {
    margin-bottom: 14px !important;
    padding: 15px 20px 17px !important;
    border-radius: 16px !important;
    box-shadow: 0 7px 22px rgba(38, 76, 30, .07) !important;
    text-align: left !important;
}

html.theme_my4e_info.page-view-ticket .ticket__body_block.response {
    background: #f6fbf3 !important;
    box-shadow: 0 7px 22px rgba(38, 76, 30, .075) !important;
}

html.theme_my4e_info.page-view-ticket .ticket__body_block.original-message .block--head {
    margin-top: 6px !important;
}

html.theme_my4e_info.page-view-ticket .ticket__body_block .block--head {
    margin-bottom: 10px !important;
}

html.theme_my4e_info.page-view-ticket .ticket__body_block > p:last-child,
html.theme_my4e_info.page-view-ticket .ticket__body_block .browser-default > p:last-child {
    margin-bottom: 0 !important;
}

/* Reply form should belong visually to the conversation rather than opening a
   second large vertical gap around itself. */
html.theme_my4e_info.page-view-ticket .form--reply {
    margin-top: 14px !important;
    margin-bottom: 14px !important;
}

/* Ticket side panel: HESK separates every block by 32px. 18px is enough with
   the rounded card treatment used by this theme. */
html.theme_my4e_info.page-view-ticket .ticket__params .params--block + .params--block {
    margin-top: 18px !important;
}

html.theme_my4e_info.page-view-ticket .ticket__params .params--block,
html.theme_my4e_info.page-view-ticket .ticket__params .params--bar {
    padding: 18px !important;
}

html.theme_my4e_info.page-view-ticket .ticket__params .params--block .row {
    padding-top: 10px !important;
    padding-bottom: 10px !important;
}

/* Knowledge-base/editor message cards: the existing theme already normalizes
   them, but 18-22px between each card is still visually loose. */
html.theme_my4e_info .browser-default div[style*="border-left" i],
html.theme_my4e_info .browser-default section[style*="border-left" i],
html.theme_my4e_info .browser-default aside[style*="border-left" i],
html.theme_my4e_info .browser-default blockquote[style*="border-left" i],
html.theme_my4e_info .browser-default .my4e-info-box,
html.theme_my4e_info .browser-default .my4e-tip-box,
html.theme_my4e_info .browser-default .my4e-message-box,
html.theme_my4e_info .browser-default .my4e-success-box,
html.theme_my4e_info .browser-default .my4e-green-box,
html.theme_my4e_info .browser-default .my4e-warning-box,
html.theme_my4e_info .browser-default .my4e-notice-box,
html.theme_my4e_info .browser-default .custom-message-box,
html.theme_my4e_info .browser-default .message-box,
html.theme_my4e_info .browser-default .info-box,
html.theme_my4e_info .browser-default .tip-box,
html.theme_my4e_info .browser-default .success-box,
html.theme_my4e_info .browser-default .warning-box,
html.theme_my4e_info .browser-default .notice-box,
html.theme_my4e_info .main__content [style*="border-left" i],
html.theme_my4e_info .ticket__body [style*="border-left" i],
html.theme_my4e_info .block--description [style*="border-left" i],
html.theme_my4e_info .article [style*="border-left" i] {
    margin-top: 14px !important;
    margin-bottom: 14px !important;
}

html.theme_my4e_info .browser-default div[style*="border-left" i] + div[style*="border-left" i],
html.theme_my4e_info .browser-default div[style*="border-left" i] + section[style*="border-left" i],
html.theme_my4e_info .browser-default section[style*="border-left" i] + div[style*="border-left" i],
html.theme_my4e_info .browser-default section[style*="border-left" i] + section[style*="border-left" i],
html.theme_my4e_info .main__content [style*="border-left" i] + [style*="border-left" i],
html.theme_my4e_info .ticket__body [style*="border-left" i] + [style*="border-left" i],
html.theme_my4e_info .block--description [style*="border-left" i] + [style*="border-left" i],
html.theme_my4e_info .article [style*="border-left" i] + [style*="border-left" i] {
    margin-top: 10px !important;
}

@media screen and (max-width: 720px) {
    html.theme_my4e_info .notification {
        margin-bottom: 10px !important;
        padding: 12px 14px 12px 18px !important;
        border-radius: 12px !important;
    }

    html.theme_my4e_info.page-view-ticket .ticket__body_block {
        margin-bottom: 12px !important;
        padding: 14px 16px 16px !important;
        border-radius: 14px !important;
    }

    html.theme_my4e_info.page-view-ticket .ticket__params .params--block,
    html.theme_my4e_info.page-view-ticket .ticket__params .params--bar {
        padding: 16px !important;
    }

    html.theme_my4e_info .browser-default div[style*="border-left" i],
    html.theme_my4e_info .browser-default section[style*="border-left" i],
    html.theme_my4e_info .browser-default aside[style*="border-left" i],
    html.theme_my4e_info .browser-default blockquote[style*="border-left" i],
    html.theme_my4e_info .main__content [style*="border-left" i],
    html.theme_my4e_info .ticket__body [style*="border-left" i],
    html.theme_my4e_info .block--description [style*="border-left" i],
    html.theme_my4e_info .article [style*="border-left" i] {
        margin-top: 12px !important;
        margin-bottom: 12px !important;
    }
}

/* v15: HESK service-message stack - fix the actual wrapper spacing.
   ------------------------------------------------------------
   hesk3_show_messages() wraps EVERY service message like this:

       .main__content.notice-flash
           .notification

   Therefore .notification + .notification can never match. HESK's core CSS
   also adds margin-top: 20px to every .main__content.notice-flash wrapper,
   which was the main source of the large vertical gaps. */
html.theme_my4e_info .main__content.notice-flash {
    margin-top: 10px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

/* The actual message card should not add a second vertical gap. */
html.theme_my4e_info .main__content.notice-flash > .notification {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

/* Consecutive service messages: compact, clearly separated stack. */
html.theme_my4e_info .main__content.notice-flash + .main__content.notice-flash {
    margin-top: 8px !important;
}

/* First service message directly below the KB search. */
html.theme_my4e_info .help-search + .main__content.notice-flash {
    margin-top: 12px !important;
}

/* Avoid an oversized jump from the last service message into the following
   content card/section while keeping a little visual separation. */
html.theme_my4e_info .main__content.notice-flash + .article,
html.theme_my4e_info .main__content.notice-flash + .content,
html.theme_my4e_info .main__content.notice-flash + .ticket,
html.theme_my4e_info .main__content.notice-flash + form {
    margin-top: 16px !important;
}

@media screen and (max-width: 720px) {
    html.theme_my4e_info .main__content.notice-flash {
        margin-top: 8px !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    html.theme_my4e_info .main__content.notice-flash + .main__content.notice-flash {
        margin-top: 7px !important;
    }

    html.theme_my4e_info .help-search + .main__content.notice-flash {
        margin-top: 10px !important;
    }
}

/* v16: homepage hierarchy + compact search + concise article previews
   ------------------------------------------------------------------ */

/* The branded hero already introduces the support area. On the homepage the
   HESK search therefore becomes a compact utility card rather than a second
   hero. Other HESK pages keep the larger search treatment. */
html.theme_my4e_info.page-index .my4e-help-search {
    margin: 0 0 18px !important;
    padding: 20px 22px 22px !important;
    overflow: visible !important;
    border-radius: 18px !important;
    background: #f8fbf5 !important;
    box-shadow: 0 10px 28px rgba(38, 76, 30, .075) !important;
}

html.theme_my4e_info.page-index .my4e-help-search::before,
html.theme_my4e_info.page-index .my4e-help-search::after {
    content: none !important;
    display: none !important;
}

html.theme_my4e_info.page-index .my4e-help-search .search__title {
    margin: 0 0 12px !important;
    color: var(--my4e-text) !important;
    font-size: 22px !important;
    line-height: 1.25 !important;
    letter-spacing: -.025em !important;
    text-align: left !important;
}

html.theme_my4e_info.page-index .my4e-help-search .search__form {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
}

html.theme_my4e_info.page-index .my4e-help-search .search__form .form-group {
    max-width: none !important;
    min-height: 52px !important;
    border: 1px solid var(--my4e-border) !important;
    border-radius: 16px !important;
    background: #fff !important;
    box-shadow: 0 7px 20px rgba(38, 76, 30, .08) !important;
}

html.theme_my4e_info.page-index .my4e-help-search .search__form .form-group input,
html.theme_my4e_info.page-index .my4e-help-search #kb_search {
    min-height: 52px !important;
    height: 52px !important;
    padding-top: 14px !important;
    padding-bottom: 14px !important;
}

html.theme_my4e_info.page-index .my4e-help-search #search-button {
    min-height: 52px !important;
    height: 52px !important;
    border-radius: 14px !important;
    background: #2f6f22 !important;
    color: #fff !important;
    box-shadow: none !important;
}

html.theme_my4e_info.page-index .my4e-help-search #search-button:hover,
html.theme_my4e_info.page-index .my4e-help-search #search-button:focus-visible {
    background: #265c1c !important;
}

/* The knowledge-base list is a scan surface, not the article itself. Keep
   enough context to choose an article, but avoid full paragraph previews. */
html.theme_my4e_info.page-index .article__heading {
    padding: 22px 24px 14px !important;
}

html.theme_my4e_info.page-index .tabbed__head {
    padding-right: 24px !important;
    padding-left: 24px !important;
}

html.theme_my4e_info.page-index .preview {
    padding: 16px 20px !important;
    align-items: flex-start !important;
}

html.theme_my4e_info.page-index .preview .icon-in-circle {
    margin-top: 0 !important;
    margin-right: 12px !important;
    margin-bottom: 0 !important;
    flex: 0 0 auto !important;
}

html.theme_my4e_info.page-index .preview .preview__title {
    margin-bottom: 4px !important;
    line-height: 1.32 !important;
}

html.theme_my4e_info.page-index .preview__text > p {
    margin-top: 4px !important;
}

html.theme_my4e_info.page-index .preview__text .navlink__descr {
    display: -webkit-box !important;
    overflow: hidden !important;
    margin-top: 6px !important;
    line-height: 1.45 !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
}

html.theme_my4e_info.page-index .preview .rate {
    padding-top: 2px !important;
}

/* Homepage quick-help: progressive enhancement added by customer/index.php.
   The original service-message text stays untouched in the database. Only the
   long tips message is reorganized into a two-column scan-friendly grid. */
html.theme_my4e_info.page-index .notification.my4e-quick-help {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px 12px !important;
    padding: 16px 18px 18px 22px !important;
}

html.theme_my4e_info.page-index .notification.my4e-quick-help > :not(.my4e-quick-help__item) {
    grid-column: 1 / -1 !important;
}

html.theme_my4e_info.page-index .notification.my4e-quick-help > p:first-child {
    margin: 0 0 2px !important;
    font-size: 18px !important;
    line-height: 1.3 !important;
}

html.theme_my4e_info.page-index .my4e-quick-help__item {
    position: relative !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 12px 14px 12px 42px !important;
    border: 1px solid rgba(47, 111, 34, .13) !important;
    border-radius: 14px !important;
    background: rgba(255, 255, 255, .72) !important;
    transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease, background .16s ease !important;
}

html.theme_my4e_info.page-index .my4e-quick-help__item::before {
    content: "↗" !important;
    position: absolute !important;
    top: 12px !important;
    left: 12px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 22px !important;
    height: 22px !important;
    border-radius: 50% !important;
    background: #e8f5e3 !important;
    color: #2f6f22 !important;
    font-size: 13px !important;
    font-weight: 800 !important;
}

html.theme_my4e_info.page-index .my4e-quick-help__item:hover {
    transform: translateY(-1px) !important;
    border-color: rgba(47, 111, 34, .25) !important;
    background: #fff !important;
    box-shadow: 0 8px 20px rgba(38, 76, 30, .075) !important;
}

html.theme_my4e_info.page-index .my4e-quick-help__item > :first-child {
    margin-top: 0 !important;
}

html.theme_my4e_info.page-index .my4e-quick-help__item > :last-child {
    margin-bottom: 0 !important;
}

html.theme_my4e_info.page-index .my4e-quick-help__item p {
    margin-top: 0 !important;
    margin-bottom: 5px !important;
    line-height: 1.45 !important;
}

html.theme_my4e_info.page-index .my4e-quick-help__item a {
    color: #2f6f22 !important;
    font-weight: 800 !important;
    text-decoration: none !important;
}

html.theme_my4e_info.page-index .my4e-quick-help__item a:hover {
    text-decoration: underline !important;
}

/* Keyboard focus remains clearly visible after the denser redesign. */
html.theme_my4e_info.page-index .my4e-help-search a:focus-visible,
html.theme_my4e_info.page-index .my4e-help-search button:focus-visible,
html.theme_my4e_info.page-index .my4e-help-search input:focus-visible,
html.theme_my4e_info.page-index .preview:focus-visible,
html.theme_my4e_info.page-index .my4e-quick-help__item a:focus-visible {
    outline: 3px solid rgba(47, 111, 34, .30) !important;
    outline-offset: 3px !important;
}

@media screen and (max-width: 720px) {
    html.theme_my4e_info.page-index .my4e-help-search {
        margin-bottom: 14px !important;
        padding: 16px !important;
        border: 1px solid var(--my4e-border-soft) !important;
        border-radius: 16px !important;
        background: #f8fbf5 !important;
        box-shadow: 0 8px 22px rgba(38, 76, 30, .065) !important;
    }

    html.theme_my4e_info.page-index .my4e-help-search .search__title {
        margin-bottom: 10px !important;
        font-size: 20px !important;
    }

    /* Override the old mobile two-row search card only on the homepage. */
    html.theme_my4e_info.page-index .my4e-help-search .search__form .form-group {
        gap: 8px !important;
        padding: 10px !important;
        border-radius: 16px !important;
    }

    html.theme_my4e_info.page-index .my4e-help-search .search__form .search__submit {
        top: 22px !important;
        left: 26px !important;
    }

    html.theme_my4e_info.page-index .my4e-help-search #kb_search {
        padding-left: 50px !important;
        border-radius: 12px !important;
        background: #fff !important;
    }

    html.theme_my4e_info.page-index .my4e-help-search #search-button {
        width: 100% !important;
        margin: 0 !important;
        min-height: 46px !important;
        height: 46px !important;
        border-radius: 12px !important;
    }

    html.theme_my4e_info.page-index .preview {
        padding: 14px 16px !important;
    }

    html.theme_my4e_info.page-index .preview__text .navlink__descr {
        display: none !important;
    }

    html.theme_my4e_info.page-index .notification.my4e-quick-help {
        grid-template-columns: 1fr !important;
        gap: 8px !important;
        padding: 14px 14px 16px 18px !important;
    }

    html.theme_my4e_info.page-index .my4e-quick-help__item {
        padding: 11px 12px 11px 40px !important;
    }

    html.theme_my4e_info.page-index .my4e-quick-help__item::before {
        top: 11px !important;
        left: 11px !important;
    }
}

/* v18: blue information treatment for the HESK-managed my4E News card
   ------------------------------------------------------------
   The content remains editable in HESK. Blue deliberately distinguishes news
   and product information from my4E's green support/action language. */
html.theme_my4e_info.page-index .my4e-hero + .main__content.notice-flash.my4e-news-wrap {
    margin-top: -12px !important;
}

html.theme_my4e_info.page-index .main__content.notice-flash.my4e-news-wrap {
    margin-bottom: 14px !important;
    padding: 0 !important;
}

html.theme_my4e_info.page-index .notification.my4e-news-card {
    position: relative !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 17px 76px 18px 22px !important;
    border: 1px solid #c9d9f5 !important;
    border-radius: 18px !important;
    background:
        radial-gradient(circle at 88% 18%, rgba(77, 127, 196, .12), transparent 28%),
        linear-gradient(135deg, #f5f8ff 0%, #edf4ff 100%) !important;
    color: #46566a !important;
    box-shadow: 0 10px 28px rgba(44, 76, 120, .085) !important;
    transition: border-color .16s ease, box-shadow .16s ease !important;
}

html.theme_my4e_info.page-index .notification.my4e-news-card:hover {
    border-color: #b6caec !important;
    box-shadow: 0 12px 30px rgba(44, 76, 120, .11) !important;
}

html.theme_my4e_info.page-index .notification.my4e-news-card::before {
    width: 5px !important;
    background: #4d7fc4 !important;
}

html.theme_my4e_info.page-index .notification.my4e-news-card::after {
    content: "↗" !important;
    position: absolute !important;
    top: 50% !important;
    right: 20px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 40px !important;
    height: 40px !important;
    border: 1px solid rgba(77, 127, 196, .20) !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, .88) !important;
    color: #285ea8 !important;
    font-size: 19px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    transform: translateY(-50%) !important;
    box-shadow: 0 6px 16px rgba(44, 76, 120, .08) !important;
    pointer-events: none !important;
}

html.theme_my4e_info.page-index .my4e-news-card__badge {
    display: inline-flex !important;
    align-items: center !important;
    min-height: 24px !important;
    margin: 0 0 7px !important;
    padding: 4px 9px !important;
    border-radius: 999px !important;
    background: #e2ecff !important;
    color: #285ea8 !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    letter-spacing: .035em !important;
    text-transform: uppercase !important;
}

html.theme_my4e_info.page-index .my4e-news-card__badge::before {
    content: "" !important;
    display: inline-block !important;
    width: 7px !important;
    height: 7px !important;
    margin-right: 6px !important;
    border-radius: 50% !important;
    background: #4d7fc4 !important;
    box-shadow: 0 0 0 3px rgba(77, 127, 196, .12) !important;
}

html.theme_my4e_info.page-index .my4e-news-card__title {
    margin: 0 0 5px !important;
    color: #183b68 !important;
    font-size: 18px !important;
    font-weight: 800 !important;
    line-height: 1.3 !important;
    letter-spacing: -.015em !important;
}

html.theme_my4e_info.page-index .notification.my4e-news-card p {
    margin-top: 0 !important;
    margin-bottom: 6px !important;
}

html.theme_my4e_info.page-index .notification.my4e-news-card p:last-of-type {
    margin-bottom: 0 !important;
}

html.theme_my4e_info.page-index .my4e-news-card__link {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    margin-top: 3px !important;
    color: #2f6f22 !important;
    font-weight: 800 !important;
    text-decoration: none !important;
}

html.theme_my4e_info.page-index .my4e-news-card__link::after {
    content: "→" !important;
    display: inline-block !important;
    transition: transform .16s ease !important;
}

html.theme_my4e_info.page-index .my4e-news-card__link:hover {
    text-decoration: underline !important;
}

html.theme_my4e_info.page-index .my4e-news-card__link:hover::after {
    transform: translateX(2px) !important;
}

html.theme_my4e_info.page-index .my4e-news-card__link:focus-visible {
    outline: 3px solid rgba(47, 111, 34, .30) !important;
    outline-offset: 3px !important;
    border-radius: 3px !important;
}

/* Once the news message is moved above the search, it must not inherit the
   generic service-message spacing rules intended for the stack below it. */
html.theme_my4e_info.page-index .main__content.notice-flash.my4e-news-wrap + .my4e-help-search {
    margin-top: 0 !important;
}

@media screen and (max-width: 720px) {
    html.theme_my4e_info.page-index .my4e-hero + .main__content.notice-flash.my4e-news-wrap {
        margin-top: -10px !important;
    }

    html.theme_my4e_info.page-index .main__content.notice-flash.my4e-news-wrap {
        margin-bottom: 12px !important;
    }

    html.theme_my4e_info.page-index .notification.my4e-news-card {
        padding: 15px 18px 16px 20px !important;
        border-radius: 16px !important;
    }

    html.theme_my4e_info.page-index .notification.my4e-news-card::after {
        display: none !important;
    }

    html.theme_my4e_info.page-index .my4e-news-card__title {
        font-size: 17px !important;
    }
}
