/* Add this at the very top of your custom.css file */
@import url('https://fonts.googleapis.com/css2?family=Red+Hat+Display:wght@400;500;600;700;800;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');
*{
 font-family: "Red Hat Display", sans-serif !important;
}
#layoutContainer{
padding:0px 50px;
}
.Header__logotxt {
    display: none !important;
}

.Header__logotxt {
    display: none !important;
}

.Header__nav {
    position: relative;
    display: inline-block !important;
    cursor: pointer;
  display:none;
}
.Header__menuList{
display:none!important;
}

/* Hide sign in button */
#logoutDetails,
.LoginDetail__loginContainer,
.LoginDetail__signin {
    display: none !important;
}


.Header__nav:hover::after > * {
    padding: 8px 16px;
    display: block;
    cursor: pointer;
}

.Header__nav a {
    color: #333;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    white-space: nowrap;
}

.Header__nav a:hover {
    background-color: #f5f5f5;
}

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

.Header__nav li,
.LoginDetail__loginContainer li {
    list-style: none;
}

.Header__nav {
    z-index: 1000;
  
}

.Header__titleDescription {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.Header__welcomeTitle {
    font-family: 'Red Hat Display';
    font-weight: 800;
    font-size: 51px;
    line-height: 32px;
    letter-spacing: -0.02em;  
    text-align: center;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    font-size: 0 !important;
    margin: 0 !important;
}

.Header__welcomeTitle::before {
    content: "CadRemit Help Centre";
    font-size: 51px;
    display: block;
    margin: 0 !important;

}

@media (max-width: 768px) {
    .Header__welcomeTitle::before {
        font-size: 30px;
    }
}

/* Remove the old selectors that weren't working */
.Header__welcomeTitle:empty::before,
.Header__welcomeTitle:not(:empty) {
    display: none;
}

.Header__welcomeDescription {
    font-family: 'Inter';
    font-weight: 200;
    font-size: 17px;
    letter-spacing: 0;
    text-align: center;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    max-width: 752px;
    margin: 0 auto;  
}

.Header__welcomeDescription:empty::before,
.Header__welcomeDescription:not(:empty) {
    content: "Find the answers for transfers, currency conversion, account setup,\A and more to make using CadRemit easier.";
    white-space: pre-wrap; 
    display: block;
  	color: #E2C5FF;

}
@media (max-width: 768px) {
.Header__welcomeDescription {
    font-size: 13px;
}
  .Header__welcomeDescription:empty::before,
.Header__welcomeDescription:not(:empty) {
    content: "Find the answers for transfers, currency conversion, account setup, and more to make using CadRemit easier.";
}
}

.Header__panelbtns {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    position: absolute !important;
    visibility: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
}



.SearchBox__searchpart {
    width: 100%;
    position: relative;
    display: flex;
    border-radius: .1875rem;
    background: transparent !important;
    background-color: transparent !important;
}

.Header__titleSearchBox {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: fit-content;
    overflow: visible;
    margin-bottom: 48px; 
}

.Header__searchLink {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: -10px;
    width: 100%;
  	max-width:552px !important;
  border-radius:50px;
  margin-bottom:70px !important;
}

.SearchCon__searchCon {
    width: 100% !important;
    margin: 0 auto;
    position: relative;
    max-width:752px !important;
}

.SearchBox__searchTextbox input {
    width: 100%;
    height: 60px;
    border-radius: 28px;
    padding: 0 190px 0 56px; 
    border: 1px solid #E5E7EB;
    font-family: 'Inter';
    font-size: 16px;
    outline: none;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.05);
    background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M21 21L16.65 16.65M19 11C19 15.4183 15.4183 19 11 19C6.58172 19 3 15.4183 3 11C3 6.58172 6.58172 3 11 3C15.4183 3 19 6.58172 19 11Z' stroke='%23667085' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: 24px center; 
    background-size: 20px 20px; 
}
@media (max-width: 768px) {
  .SearchBox__searchTextbox input{
  padding: 0 130px 0 56px;
  }
}
.SearchBox__searchTextbox input::placeholder {
    color: #667085;
}

.SearchBox__searchTextbox::after {
    content: "Search";
    position: absolute;
    right: 8px; 
    top: 50%;
    transform: translateY(-50%);
    width: 176px;
    height: 44px; 
    background-color: #3C096C; 
    color: white;
    border-radius: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-family: 'Inter';
    font-weight: 500;
}

@media (max-width: 768px) {
    #layoutContainer {
        padding: 0px 20px;
    }
    .SearchBox__searchTextbox::after {
        width: 100px;
    }
    .SearchBox__searchTextbox{
        width: 343px;
    }

}

@media (max-width: 390px){
    .SearchBox__searchTextbox input::placeholder {
        display: none;
    }
}

.SearchBox__searchTextbox::after:hover {
    background-color: #4B0B86; 
}

.Header__searchalt {
    display: flex;
    justify-content: center !important;
    width: 100%;
    padding: 0 20px;
    max-width: 100% !important;
}

.Header__searchSubCont {
    position: relative;
    width: 100%;
    margin: 0 auto;
}
.Header__homeNavbarFixed .Header__searchSubCont{
  background:#2c1251 !important;
}
.Header__homeNavbarFixed .Header__searchLink{
  margin-top:0!important;
  margin-bottom:0!important;
}
.SearchBox__searchTextbox {
    background: transparent !important;
    background-color: transparent !important;
}

.Header__breadcrumbs {
    display: none !important;
}

.body{
    background-color: #EFEBF7 !important;
  }

/* Grid Layout Styles */
.kbCategory__gridView {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)) !important;
    gap: 24px !important;
    width: 100% !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 40px !important;
    background: #ECE5F7;
    position: relative;
    top: -110px;
    border-radius: 20px;
}

/* Tablet specific styles */
@media (min-width: 768px) and (max-width: 1024px) {
    .kbCategory__gridView {
        grid-template-columns: repeat(2, 1fr) !important;
        padding: 24px !important;
        gap: 16px !important;
    }
    
    .TitleContainer__container {
        padding: 16px !important;
    }
}

@media (max-width: 767px) {
    .kbCategory__gridView {
        grid-template-columns: 1fr !important;
        padding: 16px !important;
        gap: 16px !important;
    }
}

.TitleContainer__container {
    width: 100% !important;
    margin: 0 !important;
    height: 100% !important;
    background: white !important;
    border-radius: 12px !important;
    padding: 24px !important;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05) !important;
    transition: transform 0.2s ease-in-out !important;
    display: flex !important;
    flex-direction: column !important;
    min-height: 220px !important;
    position: relative !important;
}

.TitleContainer__container:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.1) !important;
}

.TitleContainer__boxLink {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    z-index: 1 !important;
}

/* Make sure the title link stays clickable above the card link */
.TitleContainer__title a {
    position: relative !important;
    z-index: 2 !important;
}

.commonStyle__flexAcenter{
display:block !important;
}
.TitleContainer__header{
border-bottom:0px !important;
padding-bottom:0px !important;  
}
.TitleContainer__title{
margin:12px 0px 0px 0px !important;
}
.TitleContainer__title *{
font-size:1em !important;
font-weight:900 !important;  
}
.TitleContainer__body {
    flex-grow: 1 !important;
    display: flex !important;
    flex-direction: column !important;
}
.TitleContainer__body *{
margin:0 !important;
font-size:0.85em; 
}
.WidgetsContainer__widgetCont {
    width: 100% !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
}

.WidgetsContainer__lftWd {
    width: 100% !important;
}

/* Style the avatar container */
.Avatar__square {
    width: 50px !important;
    height: 50px !important;
    border-radius: 10px !important;
    background-color: #DCC8EE !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-right: 16px !important;
    padding: 12px !important;
    min-width: 50px !important;
    min-height: 50px !important;
}

.Header__menuClick {
    display:none !important;
}

/* Override any potential size constraints */


/* Logo image replacement */
.Header__logoimg img {
    content: url('https://res.cloudinary.com/dfzzithr7/image/upload/v1746438495/cadremit.svg_n576kw.png') !important;
    width: auto !important;
    height: 32px !important;
}
.Footer__footer{
display:none !important;
}

    .footer-container {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 10px;
        text-align: center;
      color:grey;
    }

    .footer-logo {
        width: 130px;
        max-width: 100%;
        filter: grayscale(100%);
      margin-top:20px;
    }

    .footer-text {
        font-size: 13px;
        color: grey;
    }

    /* Hide the original 2024 */
    .footer-text span:nth-child(1) {
        color: transparent;
        position: relative;
    }

    /* Add 2025 on top */
    .footer-text span:nth-child(1)::after {
        content: "2025";
        color: grey;
        position: absolute;
        left: 0;
    }

    @media (max-width: 600px) {
        .footer-container {
            flex-direction: column;
        }
    }

@media (max-width: 48rem) {
  .Header__homeNavbarFixed .Header__searchLink{
  background:#2c1251 !important;
    border-radius:0 !important;
  }
}

.SubscribeDepart__deplogo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.SubscribeDepart__logosubscribe {
    display: flex;
    align-items: center;
}

.SubscribeDepart__depname {
    margin-left: 12px;
    font-family: 'Red Hat Display', sans-serif;
    font-weight: 600;
    font-size: 18px;
    color: #333;
}

.Avatar__img {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    min-height: 40px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background-color: #DCC8EE !important;
    border-radius: 10px !important;
    padding: 8px !important;
}

.Avatar__square.Avatar__small .Avatar__img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    padding: 0 !important;
}

.CustomizeContainer__aPlus{
    display:none !important;
}

.TitleContainer__progressText.commonStyle__inlineBlock {
    font-size: 0 !important;
    visibility: hidden !important;
    display: block !important;
    width: 100% !important;
    height: 20px !important;
    position: relative !important;
}

.TitleContainer__progressText::after {
    content: none !important;
    display: none !important;
}

.TitleContainer__progressText.commonStyle__inlineBlock::after {
    content: "10 Questions and Answers" !important;
    visibility: visible !important;
    font-size: 14px !important;
    display: inline-block !important;
    font-family: 'Red Hat Display', sans-serif !important;
    font-weight: 500 !important;
    color: #666 !important;
    position: absolute !important;
    left: 0 !important;
    white-space: nowrap !important;
    background: none !important;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    border-radius: 0 !important;
}

.TitleContainer__content.commonStyle__padding0 {
    padding: 0 !important;
    margin-top: 8px !important;
}

.TitleContainer__description {
    flex-grow: 1 !important;
    min-height: 60px !important;
    margin-bottom: 10px !important;
}

.kbCategory__gridView > .TitleContainer__container:nth-child(3) .TitleContainer__progressText::after {
    content: "18 Questions and Answers" !important;
}

.kbCategory__gridView > .TitleContainer__container:nth-child(4) .TitleContainer__progressText::after {
    content: "16 Questions and Answers" !important;
}

.kbCategory__gridView > .TitleContainer__container:nth-child(5) .TitleContainer__progressText::after {
    content: "18 Questions and Answers" !important;
}

.kbCategory__gridView > .TitleContainer__container:nth-child(6) .TitleContainer__progressText::after {
    content: "14 Questions and Answers" !important;
}

.kbCategory__gridView > .TitleContainer__container:nth-child(7) .TitleContainer__progressText::after {
    content: "10 Questions and Answers" !important;
}

.kbCategory__gridView > .TitleContainer__container:nth-child(8) .TitleContainer__progressText::after {
    content: "19 Questions and Answers" !important;
}


.kbCategory__gridView > .TitleContainer__container:nth-child(9) .TitleContainer__progressText::after {
    content: "19 Questions and Answers" !important;
}

.kbCategory__gridView > .TitleContainer__container:nth-child(10) .TitleContainer__progressText::after {
    content: "14 Questions and Answers" !important;
}

.kbCategory__gridView > .TitleContainer__container:nth-child(11) .TitleContainer__progressText::after {
    content: "8 Questions and Answers" !important;
}

.kbCategory__gridView > .TitleContainer__container:nth-child(12) .TitleContainer__progressText::after {
    content: "7 Questions and Answers" !important;
}

.kbCategory__gridView > .TitleContainer__container:nth-child(13) .TitleContainer__progressText::after {
    content: "2 Questions and Answers" !important;
}

.kbCategory__gridView > .TitleContainer__container:nth-child(14) .TitleContainer__progressText::after {
    content: "6 Questions and Answers" !important;
}

.kbCategory__gridView > .TitleContainer__container:nth-child(15) .TitleContainer__progressText::after {
    content: "8 Questions and Answers" !important;
}
.kbCategory__gridView > .TitleContainer__container:nth-child(16) .TitleContainer__progressText::after {
    content: "8 Questions and Answers" !important;
}
.kbCategory__gridView > .TitleContainer__container:nth-child(17) .TitleContainer__progressText::after {
    content: "18 Questions and Answers" !important;
}
.kbCategory__gridView > .TitleContainer__container:nth-child(18) .TitleContainer__progressText::after {
    content: "15 Questions and Answers" !important;
}

.SubscribeDepart__followContent,
[data-id="category_follow"],
.SubscribeDepart__decsmall {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    width: 0 !important;
    opacity: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
}

.ArticleDetailRightContainer__followContentLow,
[data-id="article_follow"],
.ArticleDetailRightContainer__descriptionFlw {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    width: 0 !important;
    opacity: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
}

.TitleContainer__content {
    list-style: none !important;
    padding: 0 !important;
}

.ArticleCmd__socialLink.instagram-share {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='2' width='20' height='20' rx='5' ry='5'%3E%3C/rect%3E%3Cpath d='M16 11.37A4 4 0 1 1 12.63 8 4 4 0 0 1 16 11.37z'%3E%3C/path%3E%3Cline x1='17.5' y1='6.5' x2='17.51' y2='6.5'%3E%3C/line%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 5px;
    transition: opacity 0.2s ease;
}

.ArticleCmd__socialLink.instagram-share:hover {
    opacity: 0.7;
}

.ArticleCmd__socialShareLt {
    position: relative;
}

.ArticleCmd__socialShareLt::after {
    content: '';
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cdefs%3E%3ClinearGradient id='instagram-gradient' x1='0%25' y1='100%25' x2='100%25' y2='0%25'%3E%3Cstop offset='0%25' style='stop-color:%23ffd600'/%3E%3Cstop offset='50%25' style='stop-color:%23ff0069'/%3E%3Cstop offset='100%25' style='stop-color:%237638fa'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect x='2' y='2' width='20' height='20' rx='5' ry='5' fill='url(%23instagram-gradient)'/%3E%3Cg fill='white'%3E%3Cpath d='M12 8.4A3.6 3.6 0 1 0 15.6 12 3.6 3.6 0 0 0 12 8.4zm0 6A2.4 2.4 0 1 1 14.4 12 2.4 2.4 0 0 1 12 14.4z'/%3E%3Ccircle cx='15.9' cy='8.1' r='0.9'/%3E%3Cpath d='M17 5.8H7A1.2 1.2 0 0 0 5.8 7v10A1.2 1.2 0 0 0 7 18.2h10a1.2 1.2 0 0 0 1.2-1.2V7A1.2 1.2 0 0 0 17 5.8zm0 11.4H7V7h10z'/%3E%3C/g%3E%3C/svg%3E");
    width: 24px;
    height: 24px;
    display: inline-flex;
    background-repeat: no-repeat;
    background-position: center;
    margin-left: 5px;
    cursor: pointer;
    opacity: 1;
    transition: opacity 0.2s ease;
}

/* Add a link that overlays the Instagram icon */
.ArticleCmd__socialShareLt::before {
    content: '';
    position: absolute;
    right: -29px;
    width: 24px;
    height: 24px;
    background: transparent;
    cursor: pointer;
    z-index: 2;
}

/* Since we can't add direct links through CSS, we'll need to add this HTML element:
<a href="https://www.instagram.com/cadremit/" target="_blank" class="instagram-link"></a>
*/

.instagram-link {
    position: absolute;
    right: -29px;
    width: 24px;
    height: 24px;
    z-index: 2;
}

[class*="sty__"] {
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    white-space: normal !important;
    max-width: 100% !important;
}

.ArticleDetailLeftContainer__description p {
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    white-space: normal !important;
    max-width: 100% !important;
}

.description p, 
.description span,
.description div {
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    white-space: normal !important;
    max-width: 100% !important;
}

/* Target all paragraph elements with sty__ classes */
[class*="sty__"][dir="ltr"] {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding-right: 16px !important;
}

.ArticleDetailLeftContainer__kbTitle {
    font-family: 'Red Hat Display', sans-serif !important;
    font-weight: 700 !important;
    font-size: 1.8rem !important;
    letter-spacing: 0 !important;
    line-height: 1.14 !important;
    text-transform: none !important;
    margin: 0 !important;
    word-wrap: break-word !important;
}

@media (max-width: 768px) {
    .ArticleDetailLeftContainer__kbTitle h1{
        font-size: 1.5rem !important;
    }
}



