/* ================================================================
   DUBAI MALL ONLINE — Help Center theme (Zoho Desk, Classic theme)
   Paste into: Customize > CSS   (v2)
   ================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Figtree:wght@300;400;500;600;700&display=swap');

:root {
    --dm-bg: #F4F4F6;          /* page background            */
    --dm-card: #FFFFFF;        /* card / panel background    */
    --dm-ink: #16161A;         /* primary text               */
    --dm-sub: #606066;         /* card subtitles (spec)      */
    --dm-meta: #86868B;        /* "10 Articles", footer text */
    --dm-line: #ECECEE;        /* card borders               */
    --dm-divider: #EFEFF1;     /* article-row dividers       */
    --dm-hairline: #3A3B3B;    /* header separator (spec)    */
    --dm-radius-card: 24px;    /* section tiles (spec)       */
    --dm-radius-search: 16px;  /* search bar (spec)          */
    --dm-font: 'Figtree', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ----------------------------------------------------------------
   1. GLOBAL
   ---------------------------------------------------------------- */
body,
.portalContainer,
#layoutContainer {
    background: var(--dm-bg) !important;
    font-family: var(--dm-font) !important;
}

.portalContainer a,
.portalContainer input,
.portalContainer button,
.portalContainer h1, .portalContainer h2, .portalContainer h3,
.portalContainer h4, .portalContainer h5, .portalContainer h6,
.portalContainer li, .portalContainer p, .portalContainer span {
    font-family: var(--dm-font);
}

/* ----------------------------------------------------------------
   2. HEADER SHELL — solid #000 edge to edge
   ---------------------------------------------------------------- */
.Header__header {
    background: #000000 !important;
}

/* Zoho's banner/background layer (carries the Appearance image and a
   fixed height) — removed so the header is one flat black block */
.Header__headerBg {
    display: none !important;
}

/* ----------------------------------------------------------------
   3. TOP BAR  (logo left, language right, 1.5px hairline below)
   ---------------------------------------------------------------- */
.Header__menuWrapper {
    background: #000000;
    border-bottom: 1.5px solid var(--dm-hairline);
}

.Header__menuBox {
    max-width: 1360px;
    margin: 0 auto;
    padding: 24px 40px 22px;   /* extra room below the logo */
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* small stacked logo, top-left */
.Header__logo {
    max-height: 42px;
    width: auto;
    display: block;
}

/* hide the "Dubai Mall" text next to the logo (the logo carries the wordmark) */
.Header__logotxt {
    display: none;
}

/* Hide the nav tabs to match the design.
   To restore a tab, delete its line below. */
#portal_tabHome,
#portal_tabSolutions,
#portal_tabCommunity {
    display: none !important;
}

/* Hide Sign In (top right shows the language switcher only).
   Customers can still sign in at /portal/signin if ever needed. */
.LoginDetail__loginContainer,
.LoginDetail__signin,
.LoginDetail__tabLink,
.signinLink {
    display: none !important;
}

/* My Requests (only renders for signed-in users) */
.Header__nav .Header__menuList a {
    color: #FFFFFF !important;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.01em;
}

/* Zoho's own locale element only renders in multilingual mode, and the
   User Preference (accessibility) button is not in the design — hide
   both; the custom .dm-lang dropdown in the header replaces them */
#localePopup,
.Header__localeTab,
#userPreference,
.Header__userPreference,
.Header__userPreference_mobile,
.CustomizeContainer__CustomizeOption {
    display: none !important;
}

@media (min-width: 769px) {
    .Header__nav {
        display: flex !important;
        align-items: center;
        justify-content: flex-end;
    }
}

/* custom language switcher (top right) */
.dm-lang {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #FFFFFF;
    font-size: 13px;
    cursor: pointer;
    padding: 6px 2px;
    list-style: none;
}

.dm-lang::before {
    content: "";
    width: 15px;
    height: 15px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFFFFF' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 21V4'/%3E%3Cpath d='M5 4c4-2 6 2 10 0v8c-4 2-6-2-10 0'/%3E%3C/svg%3E") no-repeat center / contain;
}

.dm-lang::after {
    content: "";
    width: 11px;
    height: 11px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFFFFF' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat center / contain;
}

.dm-lang__current {
    color: #FFFFFF;
    font-family: var(--dm-font);
    font-size: 13px;
    letter-spacing: 0.01em;
}

/* the label tracks the page locale via Zoho's own locale class on the
   portal root (e.g. "en" / "ar") — no scripts involved */
.dm-lang__current--ar {
    display: none;
}

.portalContainer.ar .dm-lang__current--en {
    display: none;
}

.portalContainer.ar .dm-lang__current--ar {
    display: inline;
}

.dm-lang__menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 168px;
    margin: 0;
    padding: 6px 0;
    list-style: none;
    background: #FFFFFF;
    border-radius: 12px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.16);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-4px);
    transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s;
    z-index: 1000;
}

.dm-lang:hover .dm-lang__menu,
.dm-lang:focus-within .dm-lang__menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dm-lang__menu li {
    list-style: none;
}

.dm-lang__menu a {
    display: block;
    padding: 10px 16px;
    color: var(--dm-ink) !important;
    font-family: var(--dm-font);
    font-size: 13px;
    text-decoration: none !important;
}

.dm-lang__menu a:hover {
    background: #F5F5F7;
}

/* ----------------------------------------------------------------
   4. HERO  (flat black: eyebrow, wordmark, search)
   ---------------------------------------------------------------- */
.Header__titleSearchWrapper {
    background: #000000;
    padding: 48px 24px 64px;
}

.home .Header__titleSearchWrapper {
    padding: 101px 24px 101px;
}

.Header__titleSearchWrapper,
.Header__titleSearchBox,
.Header__banneralt {
    min-height: 0 !important;
    height: auto !important;
}

.Header__titleSearchBox,
.Header__banneralt {
    background: transparent;
    max-width: 1232px;
    margin: 0 auto;
}

.Header__titleDescription {
    text-align: center;
}

/* Zoho's welcome text — hidden (the hero below is rendered by CSS) */
.Header__welcomeTitle {
    display: none !important;
}

/* if an older header version with these elements is still pasted,
   hide them so the hero never doubles up */
.dm-eyebrow,
.dm-heroLogo {
    display: none !important;
}

/* the hero is drawn entirely from CSS so the HTML editor cannot
   strip it: ::before = "WELCOME TO", ::after = wordmark image */
.Header__titleDescription {
    min-height: 0;
}

.Header__titleDescription::before {
    content: "WELCOME TO";
    display: block;
    color: #FFFFFF;
    font-family: var(--dm-font);
    font-size: 21.52px;
    font-weight: 300;
    letter-spacing: 0.32em;
    text-indent: 0.32em; /* optically recentres spaced-out caps */
    line-height: 1.2;
    margin: 0 0 48px;
}

.Header__titleDescription::after {
    content: "";
    display: block;
    width: min(553px, 86vw);
    aspect-ratio: 1106 / 65;
    margin: 0 auto 6px;
    background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAABFIAAABBCAMAAADFaXAeAAAA/1BMVEUAAAD///9hYWH///9eXl5YWFh+fn7///////////////////9jY2NeXl5gYGD///9eXl5gYGBeXl5dXV0+Pj5eXl5hYWFgYGBgYGBeXl5gYGCqqqpLS0sAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACJPK6qAAAAQHRSTlMA/f0E+QkC0HIsspMNSs9Paq/KKwSSL3NUq40DCwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAASG29NAAAFJdJREFUeNrtnYu6oyqygEkI3qMxZuXW+/2f84CCohGoQk3UM3wz3bu7o0IW9Vs3qgjtDeIxQJeCHjB9LsMbkpj6rsf3+TQmdOqUKXbGMf3eOmf8+fxv/D8Ya9otk+fCZTMsvrsaToRkyqT5tQmWSZQkKdm9hLNb0K34xoIZbgm8R8AY+nH8EjZ9fh4PrvfDUncXlzhGMNQMqNrX+JcWne9DvY9OkU9SHBL8K3/KW5hT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eZ1aLeNgT8adTeTNUgjxzDYX87r6KyZ+nzHZ40r9iS5IpSV+vfrhRFEgdq+fICT+KXOMa/h8wfzpcgabHCktK1HqPt7PS+FlPE3qd+mkL0BozStc0rStIipJ56GEyK7GZTQ7zxmJyMQdk11eV37L/ry/SSwaOz4uAhf4h+seMKlRgrmBNFfnl+NA+qevefCEfrAPDi78OfmFwb46Tcu2j8Ek2n1si2rWRtf2rzZj59XY+7nmY6Jnbjj81O/Btf11O/CmVdJCHUNz+sWoIoQqup++XuVnAPl63253zPiafK0Ys8yYJNULnzXssLdPbMNloGnyBh6WdBLAvYS8RnUDyJzDf7w/wOEG0Pc35A21AAAAABJRU5ErkJggg==") no-repeat center / contain;
}

/* welcome description — clear its text in Appearance if unused */
.Header__welcomeDescription {
    color: rgba(255, 255, 255, 0.72) !important;
    font-size: 15px;
    margin: -28px 0 32px;
}

.Header__welcomeDescription:empty {
    display: none;
}

/* ----------------------------------------------------------------
   5. SEARCH BAR  (white, 16px radius, custom icon)
   ---------------------------------------------------------------- */
.Header__searchSubCont,
.Header__searchalt {
    max-width: 878px;   /* 846px + 16px on each side */
    margin: 0 auto;
}

/* Zoho serves a page-type-specific stylesheet on category/article
   pages (e.g. "articleList") that can set its own width on the
   search wrapper with higher specificity than a plain class rule.
   These ID-anchored, !important rules always win, so the bar stays
   878px wide and centred on every page, not just the home page. */
#bannerContainer,
#searchBtnContainer,
#searchContainer {
    max-width: 878px !important;
    width: 100% !important;
    margin: 0 auto !important;
    left: auto !important;
    right: auto !important;
    float: none !important;
}

/* Zoho's outer search wrappers add their own white box, padding and
   large radius — flatten them all so only the 16px pill remains */
.Header__banneralt,
.Header__searchSubCont,
.Header__searchalt,
.Header__searchLink,
.Header__searchBox,
.SearchCon__searchCon,
.SearchBox__searchpart {
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    box-shadow: none !important;
    min-height: 0 !important;
    height: auto !important;
}

.SearchCon__searchCon,
.SearchBox__searchpart {
    width: 100%;
}

.SearchBox__searchTextbox {
    position: relative;
    background: #FFFFFF;
    border-radius: var(--dm-radius-search) !important;
    overflow: hidden;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.18);
}

/* magnifier icon */
.SearchBox__searchTextbox::before {
    content: "";
    position: absolute;
    left: 24px;
    top: 50%;
    width: 22px;
    height: 22px;
    transform: translateY(-50%);
    pointer-events: none;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 24 24' fill='none' stroke='%2316161A' stroke-width='1.7' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7.25'/%3E%3Cpath d='M16.6 16.6 21 21'/%3E%3C/svg%3E") no-repeat center / contain;
}

.SearchBox__searchTextbox input,
#autoSearchContainer {
    width: 100% !important;
    height: 64px !important;
    padding: 0 24px 0 62px !important;
    border: none !important;
    border-radius: var(--dm-radius-search) !important;
    background: transparent !important;
    font-family: var(--dm-font) !important;
    font-size: 16px !important;
    color: var(--dm-ink) !important;
    box-shadow: none !important;
    outline: none;
}

#autoSearchContainer::placeholder {
    color: var(--dm-meta);
    opacity: 1;
}

.SearchBox__searchTextbox:focus-within {
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.18), 0 0 0 3px rgba(255, 255, 255, 0.22);
}

/* hide the unused "+" quick-action button next to search */
.Header__panelbtns {
    display: none !important;
}

/* Zoho docks the search bar to the top of the viewport on scroll and
   draws an accent gradient line under it. ID selectors outweigh the
   class Zoho toggles for the docked state, so the bar stays in the
   hero on all pages; the pseudo-element/background rules kill the
   coloured line in either state */
#searchContainer,
#searchBtnContainer,
#bannerContainer,
.Header__searchLink,
.Header__searchalt,
.Header__searchSubCont {
    position: static !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    z-index: auto !important;
}

#searchContainer::before,
#searchContainer::after,
#searchBtnContainer::before,
#searchBtnContainer::after,
.Header__searchLink::before,
.Header__searchLink::after,
.Header__searchalt::before,
.Header__searchalt::after {
    display: none !important;
    border: none !important;
    background: none !important;
}

#searchContainer,
#searchBtnContainer {
    border: none !important;
    background-image: none !important;
    box-shadow: none !important;
}

/* ----------------------------------------------------------------
   6. CATEGORY TILES  (KB Categories widget)
   ---------------------------------------------------------------- */
.AppContainer__homeWidget {
    max-width: 1232px;
    margin: 0 auto;
    padding: 0 24px;
}

.WidgetsContainer__widgetCont {
    list-style: none;
    margin: 0;
    padding: 0;
}

.WidgetsContainer__lftWd {
    width: 100% !important;
    display: block;
    margin: 0 0 56px;
}

/* hide the "Knowledge Base" pill button and the grid/list view toggle */
.ModuleCategoryContainer__tabs,
.ModuleCategoryContainer__viewpanel {
    display: none !important;
}

.ModuleCategoryContainer__hometabs {
    margin: 0;
    padding: 0;
    min-height: 0;
}

/* 3-column grid, 60px below the hero */
.ModuleCategoryContainer__gridView {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 60px;
}

/* the tile — 24px radius, 24px (--3xl) padding
   width resolves to 394.667px at the 1232px container (3 cols, 24px gaps) */
.TitleContainer__container {
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
    display: flex;
    background: var(--dm-card);
    border: none;
    border-radius: var(--dm-radius-card);
    padding: 24px;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.02);
    transition: box-shadow 0.18s ease, transform 0.18s ease;
}

/* no strokes or separator lines anywhere inside the tiles
   (also kills the divider lines Zoho draws between stacked
   categories in its mobile list layout) */
.home [class*="TitleContainer"] {
    border: none !important;
    box-shadow: none !important;
}

.home .TitleContainer__container {
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.02) !important;
}

.home .TitleContainer__container hr,
.home .ModuleCategoryContainer__gridView hr {
    display: none !important;
}

.TitleContainer__container:hover {
    box-shadow: 0 10px 28px rgba(16, 24, 40, 0.08);
    transform: translateY(-2px);
}

.TitleContainer__gridView {
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 20px;
    width: 100%;
    height: 100%;
}

/* icon + title row */
.TitleContainer__header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 0;
}

.TitleContainer__headerIcon,
.TitleContainer__headerIcon .Avatar__square {
    width: 44px !important;
    height: 44px !important;
    background: none !important;
    border: none !important;
    border-radius: 0 !important;
    flex: 0 0 auto;
}

.TitleContainer__headerIcon .Avatar__img {
    width: 44px !important;
    height: 44px !important;
    object-fit: contain;
}

/* tile heading — Figtree 18px, 135% line height, -0.25px letter spacing */
.TitleContainer__title,
.TitleContainer__title a {
    font-family: var(--dm-font) !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    line-height: 135% !important;
    letter-spacing: -0.25px !important;
    color: var(--dm-ink) !important;
    text-decoration: none !important;
}

/* tile subtitle — #606066, 20px line height, -0.16px letter spacing */
.TitleContainer__body {
    margin: 0;
    width: 100%;
}

.TitleContainer__description {
    font-family: var(--dm-font) !important;
    font-size: 14px !important;
    line-height: 20px !important;
    letter-spacing: -0.16px !important;
    color: var(--dm-sub) !important;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-word;
}

/* "10 Articles" meta (the column's 20px gap provides the spacing) */
.TitleContainer__content {
    list-style: none;
    margin: 0 !important;
    padding: 0 !important;
}

.TitleContainer__progressText {
    font-size: 12px !important;
    color: var(--dm-meta) !important;
    letter-spacing: -0.1px;
}

.TitleContainer__progressText + .TitleContainer__progressText::before {
    content: "\00B7";
    margin: 0 6px;
    color: var(--dm-meta);
}

/* ----------------------------------------------------------------
   7. POPULAR / RECENT ARTICLES  (list widgets)
   Generic on purpose — if a part doesn't pick up the style after
   adding the widgets, inspect the element and swap the class here.
   ---------------------------------------------------------------- */

/* "Popular Articles" / "Recent Articles" heading */
.ArticlesContainer__title {
    font-family: var(--dm-font) !important;
    font-size: 18px !important;      /* same as category tile titles */
    font-weight: 600 !important;
    line-height: 135% !important;
    letter-spacing: -0.25px !important;
    color: var(--dm-ink) !important;
    margin: 0 0 16px;
    background: none;
}

/* the white card wrapping the list */
.ArticlesContainer__articleListWidget {
    background: var(--dm-card) !important;
    border: none !important;
    border-radius: var(--dm-radius-card) !important;
    box-shadow: none !important;
    overflow: hidden;
    padding: 0 !important;
    margin: 0 0 40px;
}

/* each row — padding lives here only, so it can't stack with the
   link's own padding below */
.ModuleItem__moduleListItem {
    border: none !important;
    border-bottom: 1px solid var(--dm-divider) !important;
    margin: 0 !important;
    padding: 14px 18px !important;
}

.ModuleItem__moduleListItem:last-child {
    border-bottom: none !important;
}

.ModuleItem__moduleListItem .ModuleItem__artList,
.ModuleItem__moduleListItem .ModuleItem__artList a {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
    padding: 0 !important;
    margin: 0 !important;
    font-family: var(--dm-font) !important;
    font-size: 15px !important;
    letter-spacing: -0.1px;
    color: #1C1C1E !important;
    text-decoration: none !important;
    line-height: 1.4;
    word-break: break-word;
}

.ModuleItem__moduleListItem:hover {
    background: #FAFAFB;
}

/* ----------------------------------------------------------------
   ARTICLE DETAILS PAGE (portal root carries .articleDetail)
   The real <h1> (.ArticleDetailLeftContainer__kbTitle) already
   exists inside the content box; the box goes transparent so the
   title sits on the page background, and the article body gets its
   own white card — matching the category page.
   ---------------------------------------------------------------- */
.articleDetail #layoutContainer {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 336px;
    column-gap: 24px;
    align-items: start;
}

.articleDetail .Layout__layout1 {
    grid-column: 1;
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
}

.articleDetail .Layout__layout2 {
    grid-column: 2;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
}

/* outer box transparent — the title row sits directly on the page */
.articleDetail .ArticleDetailLeftContainer__wrapper,
.articleDetail .ArticleDetailLeftContainer__box {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
}

/* title row: big title left, PDF/print/reader icons right */
.articleDetail .ArticleDetailLeftContainer__partHead {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin: 0 0 24px;
}

.articleDetail .ArticleDetailLeftContainer__kbTitle {
    font-family: var(--dm-font) !important;
    font-size: 32px !important;
    font-weight: 700 !important;
    letter-spacing: -0.5px;
    line-height: 1.25 !important;
    color: var(--dm-ink) !important;
    margin: 0 !important;
}

/* the article body card */
.articleDetail .ArticleDetailLeftContainer__contents {
    background: var(--dm-card) !important;
    border: none !important;
    border-radius: var(--dm-radius-card) !important;
    padding: 32px !important;
}

/* body typography */
.articleDetail .ArticleDetailLeftContainer__contents,
.articleDetail .ArticleDetailLeftContainer__contents p,
.articleDetail .ArticleDetailLeftContainer__contents li {
    font-family: var(--dm-font) !important;
    font-size: 15px;
    line-height: 1.65;
    color: #3A3A3F;
}

.articleDetail .ArticleDetailLeftContainer__contents h2,
.articleDetail .ArticleDetailLeftContainer__contents h3,
.articleDetail .ArticleDetailLeftContainer__contents h4,
.articleDetail .ArticleDetailLeftContainer__contents b,
.articleDetail .ArticleDetailLeftContainer__contents strong {
    color: var(--dm-ink);
}

/* tables inside article content (e.g. order-status tables) */
.articleDetail .ArticleDetailLeftContainer__contents table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    border: 1px solid var(--dm-divider) !important;
    border-radius: 8px;
    overflow: hidden;
}

.articleDetail .ArticleDetailLeftContainer__contents th,
.articleDetail .ArticleDetailLeftContainer__contents td {
    border: 1px solid var(--dm-divider) !important;
    padding: 12px 16px;
    text-align: left;
    vertical-align: top;
}

.articleDetail .ArticleDetailLeftContainer__contents th,
.articleDetail .ArticleDetailLeftContainer__contents tr:first-child td {
    background: #F7F7F8;
    font-weight: 600;
    color: var(--dm-ink);
}

/* Zoho renders a stray, empty widget slot below the article body
   (.ArticleDetailLeftContainer__widget) — hide it so the feedback
   strip is the last block on the page. This was also being styled
   as a card by an earlier rule, which is why an extra empty card
   appeared below the strip. */
.articleDetail .ArticleDetailLeftContainer__widget {
    display: none !important;
}

/* Helpful? / likes / Updated / Share strip — full-width card in the
   same design language as the article body.

   Real DOM (from your inspector):
     .ArticleCmd__articleLike          — OUTER row wrapper
       .ArticleCmd__articleDetail      — "Helpful?" label + thumbs group
       <span> .ArticleCmd__posttime    — "Updated: 1 day ago"
       .ArticleCmd__socialShareLt      — "Share:" + icons

   Earlier rounds mis-identified .ArticleCmd__articleDetail as the
   outer wrapper — it's actually a child, which is why the card and
   its radius kept landing on the wrong box */
.articleDetail .ArticleCmd__articleLike {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 12px 18px !important;
    width: 100% !important;
    max-width: none !important;
    box-sizing: border-box !important;
    background: var(--dm-card) !important;
    border: none !important;
    border-radius: var(--dm-radius-card) !important;
    box-shadow: none !important;
    padding: 18px 28px !important;
    margin: 16px 0 0 !important;
    font-family: var(--dm-font) !important;
}

/* the Helpful label + thumbs group */
.articleDetail .ArticleCmd__articleDetail {
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 14px !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.articleDetail .ArticleCmd__socialShareLt {
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 10px !important;
    margin: 0 !important;
    font-family: var(--dm-font) !important;
    font-size: 13px;
    color: var(--dm-sub);
}

.articleDetail .ArticleCmd__helptxt {
    font-family: var(--dm-font) !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    color: var(--dm-ink) !important;
    margin: 0 !important;
}

.articleDetail .ArticleCmd__posttime {
    font-family: var(--dm-font) !important;
    font-size: 13px !important;
    color: var(--dm-meta) !important;
    margin: 0 0 0 auto !important;   /* pushes Updated + Share right */
}

.articleDetail .ArticleCmd__Like,
.articleDetail .ArticleCmd__disLike {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.articleDetail .ArticleCmd__mgr15 {
    margin: 0 !important;
}

/* sidebar: wrapper layers transparent; the widget cards style
   themselves via .WidgetsContainer__rightWd */
.articleDetail .ArticleDetailRightContainer__wrapper,
.articleDetail #kbDetailRightContainer {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.articleDetail .ArticleDetailRightContainer__widgetLt {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* ----------------------------------------------------------------
   SEARCH RESULTS PAGE (all viewports)
   ---------------------------------------------------------------- */
.search__wrapper {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.search__searchTitleHeader {
    font-family: var(--dm-font) !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    letter-spacing: -0.3px;
    color: var(--dm-ink) !important;
    margin: 0 0 20px !important;
    padding: 0 !important;
    background: none !important;
    border: none !important;
}

.search__searchPanel {
    background: var(--dm-card) !important;
    border: none !important;
    border-radius: var(--dm-radius-card) !important;
    box-shadow: none !important;
    overflow: hidden;
    padding: 4px 0 !important;
}

/* result rows — scoped to the search panel so these don't leak into
   the home-page Popular/Recent widgets, which share this class */
.search__searchPanel .ModuleItem__moduleListItem {
    background: transparent !important;
    border: none !important;
    border-bottom: 1px solid var(--dm-divider) !important;
    border-radius: 0 !important;
    padding: 18px 24px !important;
    margin: 0 !important;
}

.search__searchPanel .ModuleItem__moduleListItem:last-child {
    border-bottom: none !important;
}

/* ----------------------------------------------------------------
   8. FOOTER
   ---------------------------------------------------------------- */
.Footer__footer {
    background: var(--dm-bg) !important;
    border: none;
}

.dm-footer {
    max-width: 1232px;
    margin: 0 auto;
    padding: 32px 24px 40px;
    text-align: center;
}

.dm-footer__copy {
    font-family: var(--dm-font);
    font-size: 12px;
    color: var(--dm-meta);
    letter-spacing: -0.05px;
    margin: 0;
}

/* ----------------------------------------------------------------
   9. BREADCRUMBS & INNER PAGES
   ---------------------------------------------------------------- */
/* on the home page the breadcrumb (if any) stays inside the hero */
.home .Header__titleSearchWrapper .BreadCrumbs__breadcrumbList,
.home .Header__titleSearchWrapper .BreadCrumbs__breadcrumbList a,
.home .Header__titleSearchWrapper .BreadCrumbs__breadcrumbList li {
    color: rgba(255, 255, 255, 0.75) !important;
    font-family: var(--dm-font);
    font-size: 13px;
}

/* on inner pages Zoho renders the breadcrumb inside the black hero
   only; visually relocate it just below the hero, aligned with the
   content column (pure CSS, the element itself stays where Zoho
   put it) */
.portalContainer:not(.home) .Header__titleSearchWrapper {
    position: relative;
}

.portalContainer:not(.home) #breadCrumbsContainer {
    position: absolute;
    top: calc(100% + 28px);
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1232px;
    padding: 0 24px;
}

.portalContainer:not(.home) #breadCrumbsContainer .BreadCrumbs__breadcrumbList,
.portalContainer:not(.home) #breadCrumbsContainer .BreadCrumbs__breadcrumbList li,
.portalContainer:not(.home) #breadCrumbsContainer .BreadCrumbs__breadcrumbList a {
    color: var(--dm-meta) !important;
    font-family: var(--dm-font);
    font-size: 14px;
    text-decoration: none;
}

.portalContainer:not(.home) #breadCrumbsContainer .BreadCrumbs__breadcrumbList li:last-child,
.portalContainer:not(.home) #breadCrumbsContainer .BreadCrumbs__breadcrumbList li:last-child span {
    color: var(--dm-sub) !important;
}

/* inner pages: shared layout container */
.portalContainer:not(.home) #layoutContainer {
    max-width: 1232px;
    margin: 0 auto !important;
    padding: 76px 24px 64px !important;  /* top clears the relocated breadcrumb */
    width: auto !important;
    min-height: 0 !important;
}


/* white 24px-radius panel for the main article list. Exact selector
   only — the old fuzzy net-selector this replaced was also matching
   .ArticleListRightContainer__wrapper (the sidebar's outer wrapper),
   wrapping the whole sidebar in one unpadded card whose corners cut
   across the icon/title and the bottom of the article list */

/* unify every divider hairline on inner pages */
.portalContainer:not(.home) #layoutContainer * {
    border-color: var(--dm-divider);
}

/* list rows read as dark text, not link-blue */
.portalContainer:not(.home) #layoutContainer a {
    color: #1C1C1E;
    font-family: var(--dm-font);
    text-decoration: none;
}

/* the sidebar's outer wrapper stays transparent — its children
   (.treeView, .WidgetsContainer__rightWd) each carry their own card */
.ArticleListRightContainer__wrapper,
.ArticleListRightContainer__WidgetConListLeft {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

/* sidebar box headings ("KB Sections", "Popular Articles") */
.portalContainer:not(.home) #layoutContainer .WidgetsContainer__rtWd h2,
.portalContainer:not(.home) #layoutContainer .WidgetsContainer__rtWd h3,
.portalContainer:not(.home) #layoutContainer [class*="sideBar" i] :is(h2, h3, [class*="head" i]):not(li *) {
    font-family: var(--dm-font) !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    letter-spacing: -0.2px;
    color: var(--dm-ink) !important;
}

/* ----------------------------------------------------------------
   CATEGORY PAGE (portal root carries .articleList)
   Zoho renders the category name only inside the sidebar block
   (.SubscribeDepart__subs). display:contents flattens the sidebar
   wrappers into the layout grid so that real element can be placed
   at the top as the page title — no scripts, no hardcoded text.
   ---------------------------------------------------------------- */
.articleList #layoutContainer {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 336px;
    column-gap: 24px;
    align-items: start;
}

.articleList .Layout__layout1 {
    grid-column: 1;
    grid-row: 2;
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
}

.articleList .Layout__layout2,
.articleList .ArticleListRightContainer__wrapper {
    display: contents !important;
}

/* the category-name block, placed across the top as the title */
.articleList .SubscribeDepart__subs {
    grid-column: 1 / -1;
    grid-row: 1;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 0 24px !important;
}

.articleList .SubscribeDepart__logosubscribe,
.articleList .SubscribeDepart__depdec {
    display: none !important;
}

.articleList .SubscribeDepart__depname {
    display: block;
    font-family: var(--dm-font) !important;
    font-size: 32px !important;
    font-weight: 700 !important;
    letter-spacing: -0.5px;
    color: var(--dm-ink) !important;
}

/* sidebar widgets column */
.articleList .ArticleListRightContainer__WidgetConListLeft {
    grid-column: 2;
    grid-row: 2;
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
}

/* both grid-row-2 items start flush under the title — Zoho's own
   top margins/paddings on these wrappers created the oversized gap
   under the title and the vertical misalignment between the list
   and the Popular Articles card */
.articleList .ArticleListContainer__wrapper {
    margin: 0 !important;
    padding: 0 !important;
}

.articleList .ArticleListContainer__widget:empty {
    display: none;
}

.articleList .WidgetsContainer__rightWd:first-child {
    margin-top: 0 !important;
}

/* main article list panel (left column) on category/article-list pages */
.ArticleListContainer__boxView {
    display: block;
    background: var(--dm-card);
    border-radius: var(--dm-radius-card);
    overflow: hidden;
    padding: 0;
}

.ArticleListContainer__boxView .ModuleItem__moduleListItem {
    padding: 20px 28px !important;
}

/* ----------------------------------------------------------------
   INNER PAGE SIDEBAR — KB Sections (category tree) and the
   Popular/Recent Articles widgets, matched to the real DOM:
   .treeView (KB Sections) and .WidgetsContainer__rightWd (each
   widget) are siblings inside .ArticleListRightContainer__wrapper
   ---------------------------------------------------------------- */

/* removed per design: the KB Sections tree and every Follow block */
.treeView,
.SubscribeDepart__followContent,
.DepFollow__depFollow,
.ArticleDetailRightContainer__followContentLow {
    display: none !important;
}

/* Popular Articles / Recent Articles — each its own white card */
.WidgetsContainer__rightWd {
    display: block !important;
    background: var(--dm-card) !important;
    border-radius: var(--dm-radius-card) !important;
    padding: 24px !important;
    margin: 0 0 16px !important;
}

.WidgetsContainer__rightWd:last-child {
    margin-bottom: 0;
}

.CustomWidgets__widgetTitle {
    font-family: var(--dm-font) !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    letter-spacing: -0.2px;
    color: var(--dm-ink) !important;
    margin: 0 0 12px;
}

/* each row: icon + link. Zoho nests a second .CustomWidgets__widgets
   inside the first to wrap the link — style the row on the outer
   one only, and neutralise the inner one so padding/borders don't
   double up */
.CustomWidgets__widgets {
    display: flex !important;
    align-items: flex-start !important;
    gap: 10px;
    border-bottom: 1px solid var(--dm-divider);
    padding: 10px 0;
}

.CustomWidgets__widgets:last-child {
    border-bottom: none;
}

.CustomWidgets__widgets .CustomWidgets__widgets {
    border: none !important;
    padding: 0 !important;
    min-width: 0;
    flex: 1 1 auto !important;
    align-items: flex-start !important;
}

.CustomWidgets__widgetIcon {
    flex: 0 0 auto !important;
    margin-top: 2px !important;   /* aligns the icon with the first text line's cap-height */
    opacity: 0.45;
    display: inline-flex;
    align-items: center;
    line-height: 1;
}

/* Titles wrap up to 3 lines, then ellipsis-truncate — never
   invisibly clipped and never forced onto a single line */
.CustomWidgets__widgetContents {
    font-family: var(--dm-font) !important;
    font-size: 14px !important;
    line-height: 1.4 !important;
    color: #1C1C1E !important;
    text-decoration: none !important;
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 3 !important;
    line-clamp: 3 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: normal !important;
    word-break: break-word;
    min-width: 0;
    flex: 1 1 auto;
}

/* Titles wrap up to 3 lines, then ellipsis-truncate — same rule
   applied everywhere Zoho's own commonStyle__overflowDotted utility
   (nowrap + hard clip) would otherwise cut text off invisibly:
   the category-page sidebar, the article-detail-page sidebar
   ("Related Articles"), and the KB Sections tree */
.ArticleListRightContainer__wrapper .commonStyle__overflowDotted,
.ArticleDetailRightContainer__wrapper .commonStyle__overflowDotted,
.Tree__labelTree {
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 3 !important;
    line-clamp: 3 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: normal !important;
    word-break: break-word;
}



/* slightly smaller hero wordmark on inner pages */
.portalContainer:not(.home) .Header__titleDescription::after {
    width: min(400px, 76vw);
}

/* ----------------------------------------------------------------
   10. RESPONSIVE
   ---------------------------------------------------------------- */
/* ---- inner pages on tablet/mobile: stack to a single column ----
   The 336px sidebar column can't safely coexist with content below
   ~1024px viewports (Zoho's own container padding chews into it),
   so both inner grids collapse to one column here. The overflow
   safeguards on the content wrappers protect against wide images
   or long unbreakable words that were spilling past the viewport
   on phone widths. */
@media (max-width: 1024px) {
    .articleList #layoutContainer,
    .articleDetail #layoutContainer {
        grid-template-columns: 1fr !important;
    }

    .articleList .Layout__layout1,
    .articleList .SubscribeDepart__subs,
    .articleList .ArticleListRightContainer__WidgetConListLeft,
    .articleDetail .Layout__layout1,
    .articleDetail .Layout__layout2 {
        grid-column: 1;
    }

    /* stacking order: title, then the article list, then widgets
       (with grid-row:auto the DOM order would put the title after
       the list, since Zoho renders it inside the second column) */
    .articleList .SubscribeDepart__subs {
        grid-row: 1;
    }

    .articleList .Layout__layout1 {
        grid-row: 2;
    }

    .articleList .ArticleListRightContainer__WidgetConListLeft {
        grid-row: 3;
    }

    .articleDetail .Layout__layout1 {
        grid-row: 1;
    }

    .articleDetail .Layout__layout2 {
        grid-row: 2;
    }

    .articleList .ArticleListRightContainer__WidgetConListLeft,
    .articleDetail .Layout__layout2 {
        margin-top: 24px !important;
    }

    /* NUCLEAR width containment for article and category pages on
       tablet/mobile — DevTools showed the whole Layout__layout1
       measuring 476.71px inside a 390px viewport, because Zoho's
       widget content (nested <ul> lists at fixed widths) was
       forcing its ancestor wider. Force every layer down the
       article-page tree to respect the viewport */
    .articleDetail #layoutContainer,
    .articleDetail .Layout__layout1,
    .articleDetail .Layout__layout2,
    .articleDetail .ArticleDetailLeftContainer__wrapper,
    .articleDetail .ArticleDetailLeftContainer__box,
    .articleDetail .ArticleDetailLeftContainer__contents,
    .articleDetail .ArticleDetailLeftContainer__widget,
    .articleDetail .ArticleDetailRightContainer__wrapper,
    .articleDetail #kbDetailRightContainer,
    .articleDetail .ArticleDetailRightContainer__widgetLt,
    .articleDetail .ArticleDetailRightContainer__WidgetConnDeRight,
    .articleDetail .articleContent,
    .articleDetail #articleContent,
    .articleDetail .ArticleCmd__articleLike,
    .articleList #layoutContainer,
    .articleList .Layout__layout1,
    .articleList .Layout__layout2,
    .articleList .ArticleListRightContainer__wrapper,
    .articleList .ArticleListRightContainer__WidgetConListLeft,
    .articleList .ArticleListContainer__wrapper,
    .articleList .ArticleListContainer__widget,
    .articleList .ArticleListContainer__boxView {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
    }

    /* clip anything still trying to escape */
    .portalContainer:not(.home) #layoutContainer {
        overflow-x: hidden !important;
    }

    /* protect against horizontal overflow from wide content (images,
       tables, long code, unbreakable strings) on narrow viewports */
    .articleDetail .ArticleDetailLeftContainer__wrapper,
    .articleDetail .ArticleDetailLeftContainer__contents,
    .articleDetail .articleContent,
    .articleDetail #articleContent {
        overflow-wrap: break-word;
        word-wrap: break-word;
    }

    .articleDetail .ArticleDetailLeftContainer__contents img,
    .articleDetail .ArticleDetailLeftContainer__contents table,
    .articleDetail .ArticleDetailLeftContainer__contents pre {
        max-width: 100% !important;
        height: auto !important;
    }

    .articleDetail .ArticleDetailLeftContainer__contents table {
        display: block;
        overflow-x: auto;
    }
}

/* ---- mobile: separated 24px-radius tiles and black menu overlay ---- */
@media (max-width: 768px) {
    /* every ancestor of the tiles goes transparent so no layer can
       render as a single white sheet behind them */
    html .home [class*="ModuleCategory"],
    html .home .AppContainer__homeWidget,
    html .home .WidgetsContainer__widgetCont,
    html .home .WidgetsContainer__lftWd,
    html .home .Layout__layout1,
    html .home .Layout__oneColumn {
        background: transparent !important;
    }

    html .home .AppContainer__homeWidget {
        padding: 0 16px;
    }

    /* each tile is its own rounded white card */
    html .home .TitleContainer__container.TitleContainer__container {
        background: var(--dm-card) !important;
        border: none !important;
        border-radius: var(--dm-radius-card) !important;
        padding: 24px !important;
        margin: 0 0 16px !important;
        width: auto !important;
        max-width: none !important;
    }

    html .home .TitleContainer__container:last-child {
        margin-bottom: 0 !important;
    }

    /* Below Zoho's internal breakpoint the grid component is swapped
       for an entirely different one: .ModuleCategoryContainer__containerListView
       > .TitleContainer__listView > .TitleContainer__Listcontainer.
       These need their own rules — the grid selectors above never
       reach this markup. */
    html .home .ModuleCategoryContainer__containerListView {
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        padding: 0;   /* .AppContainer__homeWidget already supplies the
                         16px side inset — this was doubling it up,
                         making category tiles narrower than the
                         Popular/Recent Articles cards below them */
        margin-top: 40px !important;
    }

    html .home .TitleContainer__listView {
        display: block;
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    /* strip any border/shadow Zoho puts on ancestor wrappers of the
       list view (the outer rectangle seen around the stacked cards) */
    html .home .ModuleCategoryContainer__containerListView,
    html .home .ModuleCategoryContainer__containerListView * {
        border: none !important;
    }

    html .home .ModuleCategoryContainer__containerListView *:not(.TitleContainer__Listcontainer):not(.TitleContainer__Listcontainer *) {
        background: transparent !important;
        box-shadow: none !important;
    }

    html .home .TitleContainer__Listcontainer {
        display: block;
        background: var(--dm-card) !important;
        border: none !important;
        border-radius: var(--dm-radius-card) !important;
        padding: 24px !important;
        margin: 0 0 16px !important;
        box-shadow: 0 1px 2px rgba(16, 24, 40, 0.02);
    }

    html .home .TitleContainer__listView > .TitleContainer__Listcontainer:last-child {
        margin-bottom: 0 !important;
    }

    /* kill every hairline/border this component draws, borders and
       pseudo-elements alike */
    html .home .TitleContainer__Listcontainer,
    html .home .TitleContainer__Listcontainer * {
        border: none !important;
    }

    html .home .TitleContainer__Listcontainer *::before,
    html .home .TitleContainer__Listcontainer *::after {
        border: none !important;
        background-image: none !important;
    }

    /* restore the dot between "x Articles · y Sections" */
    html .home .TitleContainer__progressText + .TitleContainer__progressText::before {
        content: "\00B7";
        border: none !important;
    }

    /* hamburger menu: black instead of the theme blue */
    .Header__nav,
    .Header__responsivefreez,
    .Header__overlayresponav,
    [class*="responsivefreez"],
    [class*="overlayresponav"] {
        background: #000000 !important;
    }

    /* the hamburger doesn't open a useful menu in this theme — hide
       it and keep the language switcher visible in its place */
    .Header__navbtn .Header__menuClick,
    .Header__menuClick {
        display: none !important;
    }

    /* Zoho's own responsive stylesheet hides .Header__nav below its
       hamburger breakpoint. Force it visible so .dm-lang stays in
       the top-right of the header on all viewports, matching desktop */
    .Header__navbtn,
    .Header__nav {
        display: flex !important;
        position: static !important;
        width: auto !important;
        height: auto !important;
        max-height: none !important;
        background: transparent !important;
        padding: 0 !important;
        margin: 0 !important;
        transform: none !important;
        visibility: visible !important;
        opacity: 1 !important;
        justify-content: flex-end;
        align-items: center;
    }

    /* keep only the language switcher visible in that nav — the
       Home / My Requests / KB / Community tabs and any injected
       sign-in/user prefs items stay hidden */
    .Header__nav > li:not(.dm-lang) {
        display: none !important;
    }

    .Header__nav .dm-lang {
        display: inline-flex !important;
    }

    /* dropdown stays right-aligned under the switcher on mobile
       too (the switcher is now in the top-right on all viewports) */
}

@media (max-width: 1100px) {
    .ModuleCategoryContainer__gridView {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 680px) {
    .ModuleCategoryContainer__gridView {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-top: 40px;
    }

    .home .Header__titleSearchWrapper {
        padding: 45px 20px 59px;
    }

    .Header__titleDescription::before {
        font-size: 15px;
        margin-bottom: 32px;
    }

    .Header__menuBox {
        padding: 18px 20px 16px;
    }

    .SearchBox__searchTextbox input,
    #autoSearchContainer {
        height: 56px !important;
        font-size: 15px !important;
    }
}
