.sd-country-modal {
    position: fixed;
    top: -110%;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 99999;
    width: 100vw;
    height: 100vh;
    padding-bottom: 30px;
    overflow: hidden;
    overflow-y: auto;
    background-color: #fff;
    transition: top .4s ease 0;
}

.sd-country-modal__wrapper {
    max-width: 1360px;
    margin: 0 auto;
    padding: 48px;
}

.sd-country-modal__header {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    height: 40px;
}

.sd-country-modal__close-icon {
    position: absolute;
    top: 32px;
    right: 32px;
    margin-right: 8px;
    color: #0075c9;
    font-size: 32px;
    cursor: pointer;
}

.sd-country-modal__container {
    display: flex;
    flex: 1 1;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 40px;
    margin-bottom: 40px;
    opacity: 0;
    transition: opacity .4s ease-in-out;
}

.sd-country-modal__title-container {
    flex: 1 1;
}

.sd-country-modal__title {
    width: 359px;
    height: 64px;
    color: #000;
    font-weight: 300;
    font-size: 28px;
    line-height: 32px;
    letter-spacing: -.8px;
    text-align: center;
}

.sd-country-modal__title strong {
    font-weight: 500;
}

.sd-country-modal__list-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    margin-top: 32px;
}

.sd-country-modal__column {
    width: 192px;
}

.sd-country-modal__item-container {
    margin-top: 24px;
    margin-bottom: 24px;
    padding-right: 24px;
}

.sd-country-modal__item {
    display: block;
    margin-top: 16px;
    color: #333e48;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: -.2px;
    text-decoration: none;
    cursor: pointer;
}

.sd-country-modal__item:hover {
    color: #0075c9;
}

.sd-header-main {
    display: flex;
    flex: 1 1;
    flex-direction: column;
}

.sd-header-main__link {
    font-size: 13px;
    color: inherit;
    text-decoration: none;
    padding: 14px 25px;
    text-transform: uppercase;
    font-weight: 600;
}

.sd-header-main__container {
    display: flex;
    flex-direction: row;
    height: 40px;
    background-color: #e0e4e9;
}

.sd-header-main__container-left {
    display: flex;
    flex: 1 1;
}

.sd-header-main__container-right {
    display: flex;
}

.sd-header-main__container-item {
    display: flex;
    align-items: center;
    color: #8a929c;
    font-weight: 500;
    font-size: 12px;
    cursor: pointer;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.sd-header-main__container-item--active {
    display: flex;
    color: #0075c9;
    background-color: #fff;
}

.sd-header-main__container-icon {
    display: flex;
    align-items: center;
    margin-left: 8px;
}

nav {
    display: block;
}

.sd-header-main__container {
    position: relative;
}

i.sd-icon.sd-icon_action_language.sd-header-main__container-icon {
    font-size: 14px;
}

@media screen and (max-width: 999px) {
    .sd-header-main {
        display: none;
    }
}

.sd-header-main__container-item.sd-header-main__container-item-country {
    font-size: 25px;
    padding-right: 20px;
    top: 0;
}

.sd-header-site {
    position: relative;
    z-index: 100;
    display: flex;
    align-items: center;
    width: 100%;
    background-color: #fff;
}

.sd-header-site-desktop {
    position: relative;
    display: flex;
    flex: 1 1;
    flex-direction: column;
    height: 80px;
}

.sd-header-site-desktop__page {
    display: flex;
    flex: 1 1;
    padding-right: 30px;
    padding-left: 30px;
    cursor: pointer;
}

.sd-header-site-desktop__left {
    display: flex;
    align-items: center;
}

.sd-header-site-desktop__center {
    display: flex;
    flex: 1 1;
    margin-left: 24px;
}

.sd-header-site-desktop__title-container {
    display: flex;
    flex-direction: column;
    padding-right: 16px;
    padding-left: 16px;
    white-space: nowrap;
}

.sd-header-site-desktop__title-wrapper {
    display: flex;
    flex: 1 1;
    align-items: center;
    color: #717983;
    font-size: 18px;
}

.sd-header-site-desktop__links {
    display: flex;
    flex: 1 1;
    flex-direction: column;
    min-width: 280px;  /* Reduced from 345px for better proportions */
    margin: 0;
    padding: 0;
}

.sd-header-site-desktop__links-container {
    display: flex;
    align-items: center;
    height: 36px;  /* Slightly reduced height */
    padding: 4px 34px;  /* Adjusted padding */
    position: relative;
}

.sd-header-site-desktop__links-item {
    display: flex;
    align-items: center;
    color: inherit;
    text-decoration: none;
    cursor: pointer;
    width: 100%;
}

/* Add arrow for items with great-grandchildren */
.sd-header-site-desktop__links-container:has(> .sd-header-site-desktop__dropdown) > .sd-header-site-desktop__links-item::after {
    content: "\EE04";  /* Using the same icon as mobile expand-more */
    font-family: sanlam-icons;
    margin-left: auto;
    font-size: 16px;
    transform: rotate(-90deg);  /* Point arrow to the right */
    color: #717983;
}

.sd-header-site-desktop__links-item:hover {
    color: #0075c9;
}

.sd-header-site-desktop__dropdown {
    position: absolute;
    top: 76px;
    display: flex;
    height: auto;
    margin-left: -24px;  /* Adjusted to match new padding */
    padding: 25px 0;  /* Simplified padding */
    background-color: #fff;
    border-radius: 4px;
    box-shadow: 0 8px 16px rgba(137, 150, 159, 0.2);  /* Softer shadow */
    visibility: hidden;
    min-width: 220px;  /* Minimum width for dropdowns */
}

/* Position nested dropdowns to the right of their parent */
.sd-header-site-desktop__links-container .sd-header-site-desktop__dropdown {
    top: -16px;  /* Align with parent padding */
    left: calc(100% + 0px);  /* Add small gap between parent and child */
    margin-left: 0;
}

.sd-header-site-desktop__title-underline {
    width: 0;
    height: 2px;
    transition: all .2s ease-in-out;
}

.sd-header-site-desktop__title {
    cursor: pointer;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
    color: inherit;
    text-decoration: none;
}

.sd-header-site-desktop__title-container:hover .sd-header-site-desktop__title,
.sd-header-site-desktop__title:hover {
    color: #0075c9;
}

nav {
    display: block;
}

.site-header {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.site-header.site-header-fixed {
    position: fixed;
    width: 100%;
}

@media screen and (max-width: 999px) {
    .site-header-desktop {
        display: none;
    }
}

.sd-header-site-desktop__links-container {
    position: relative;
}

.logo-lift {
    position: relative;
    bottom: 2px;
    height: 56px;
    image-rendering: -webkit-optimize-contrast;
    margin-right: 66px;
    margin-left: 28px;
    width: 291px;
}

.globe {
    cursor: pointer;
    color: #0075c9;
    position: relative;
    top: 3px;
}

.globe:hover {
    opacity: 0.6;
}

.sd-header-site-desktop__title-container--active > .sd-header-site-desktop__dropdown,
.sd-header-site-desktop__links-container:hover > .sd-header-site-desktop__dropdown {
    visibility: visible;
    animation: nice-fade;
    animation-duration: .4s;
    animation-timing-function: cubic-bezier(.23, 1, .32, 1);
}

/* Change arrow color on hover */
.sd-header-site-desktop__links-container:hover > .sd-header-site-desktop__links-item::after {
    color: #0075c9;
}


.sd-icon {
    display: inline-block;
    font-family: sanlam-icons;
    font-style: normal;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    vertical-align: bottom;
}

.sd-icon_navigation_menu:before {
    content: "\EE09";
}

.sd-header-site {
    position: relative;
    z-index: 100;
    display: flex;
    align-items: center;
    width: 100%;
    background-color: #fff;
}

.sd-header-site-mobile {
    display: flex;
    flex: 1 1;
    align-items: center;
    height: 56px;
    margin-right: 15px;
    margin-left: 15px;
}

.sd-header-site-mobile__left {
    display: flex;
    height: 24px;
    position: relative;
    z-index: 99;
}

.sd-header-site-mobile__menu-icon {
    color: #0075c9;
    font-size: 24px;
    cursor: pointer;
}

.sd-header-site-mobile__center {
    position: relative;
    display: flex;
    flex: 1 1;
    justify-content: center;
    width: 113px;
    height: 24px;
}

.site-header {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.site-header-mobile {
    display: none;
}

@media screen and (max-width: 999px) {
    .site-header-mobile {
        display: block;
        position: sticky;
        top: 0;
    }
}

i {
    font-style: italic;
}

.logo-lift {
    position: relative;
    bottom: 2px;
    height: 56px;
    image-rendering: -webkit-optimize-contrast;
    margin-right: 66px;
    margin-left: 28px;
    width: 291px;
}

@media (max-width: 555px) {
    .sd-header-site-mobile__center img {
        width: 199px;
        height: auto;
        margin: 0 auto;
        bottom: 0;
    }
}

.sd-icon {
    display: inline-block;
    font-family: sanlam-icons;
    font-style: normal;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    vertical-align: bottom;
}

.sd-icon_navigation_close:before {
    content: "\EE02";
}

.sd-icon_navigation_expand-more:before {
    content: "\EE04";
}

.sd-drawer {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10031;
    width: 100%;
    height: 100vh;
    background-color: #fff;
    box-shadow: 0 12px 16px 0 rgba(137, 150, 159, .3);
    transform: translateX(-100%);
    transition-property: transform;
    transition-timing-function: cubic-bezier(.23, 1, .32, 1);
    transition-duration: .3s;
    overflow: hidden;
}

.sd-drawer--is-open {
    top: 0;
    min-width: 100%;
    height: 100vh;
    background-color: #fff;
    transform: translateX(0);
}

@media screen and (min-width: 1000px) {
    .sd-drawer {
        display: none;
    }
}

.sd-drawer__menu {
    position: relative;
    height: calc(100vh - 56px);
    overflow: hidden;
    background: #fff;
    width: 100%;
    max-width: 100%;
}

/* Navigation bar with back button */
.sd-drawer__nav {
    display: none;
    align-items: center;
    height: 56px;
    padding: 0 16px;
    border-bottom: 1px solid #e0e4e9;
    background: #fff;
}

.sd-drawer__nav.is-visible {
    display: flex;
}

.sd-drawer__nav-title {
    flex: 1;
    font-size: 16px;
    font-weight: 500;
    color: #333e48;
}

.sd-drawer__back-btn {
    display: none;
    align-items: center;
    padding: 8px 12px;
    border: none;
    background: none;
    color: #0075c9;
    cursor: pointer;
}

.sd-drawer__back-btn .sd-icon {
    margin-right: 8px;
    font-size: 24px;
}

/* Menu wrapper and levels */
.sd-drawer__menu-wrapper {
    position: relative;
    height: calc(100% - 56px);
    overflow: hidden;
    width: 100%;
}

.sd-drawer__menu-level {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    background: #fff;
    transition: transform 0.3s ease-out;
    transform: translateX(100%);
    -webkit-overflow-scrolling: touch;
}

.sd-drawer__menu-level[data-level="1"] {
    transform: translateX(0);
}

/* Menu items */
.sd-drawer__menu-item {
    border-bottom: 1px solid #e0e4e9;
}

.sd-drawer__menu-btn,
.sd-drawer__menu-link {
    display: flex;
    align-items: center;
    width: 100%;
    height: 48px;
    padding: 0 16px;
    border: none;
    background: none;
    color: #333e48;
    font-size: 15px;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Root level uppercase */
.sd-drawer__menu-level[data-level="1"] .sd-drawer__menu-btn .sd-drawer__menu-text,
.sd-drawer__menu-level[data-level="1"] .sd-drawer__menu-link .sd-drawer__menu-text {
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sd-drawer__menu-text {
    flex: 1;
}

.sd-drawer__menu-btn .sd-icon {
    margin-left: 8px;
    font-size: 24px;
    color: #717983;
    transform: rotate(-90deg); /* Make arrow point right */
}

/* Active states */
.sd-drawer__menu-level.is-active {
    transform: translateX(0);
}

.sd-drawer__menu-level.is-previous {
    transform: translateX(-100%);
}

.sd-drawer__nav.has-back .sd-drawer__back-btn {
    display: flex;
}

/* Hover states */
.sd-drawer__menu-btn:hover,
.sd-drawer__menu-link:hover {
    background-color: rgba(0, 117, 201, 0.05);
}

/* Icon styles */
.sd-icon_navigation_arrow-back:before {
    content: "\EE04";
    display: inline-block;
    transform: rotate(90deg);
}

.sd-icon_navigation_arrow-forward:before {
    content: "\EE04";
}

.sd-drawer__menu-sub-list-item {
    display: flex;
    align-items: center;
}

.sd-drawer__menu-sub-list-link {
    display: flex;
    width: 100%;
    padding-right: 32px;
    padding-left: 32px;
    color: #333e48;
    color: inherit;
    line-height: 2.5;
    letter-spacing: -.2px;
    text-decoration: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.sd-drawer__menu-sub-list-link:hover {
    color: #0075c9;
}

.sd-drawer__header {
    display: flex;
    justify-content: flex-end;
    padding: 8px 16px;
    line-height: 1.5;
    border-bottom: 1px solid #e0e4e9;
}

.sd-drawer__header-left {
    display: flex;
    flex: 1 1;
    align-items: center;
}

.sd-drawer__header-logo {
    width: 209px;
    height: auto;
}

.sd-drawer__header-right {
    display: flex;
    align-items: center;
}

.sd-drawer__header-icon {
    color: #8a929c;
    font-size: 24px;
    cursor: pointer;
}

.sd-drawer--open {
    top: 0;
    min-width: 100%;
    height: 100vh;
    background-color: #fff;
    transform: translateX(0);
}

.sd-drawer--open.sd-drawer--large {
    min-width: 360px;
}

.sd-drawer--open .sd-drawer__header {
    margin-top: 0;
}

.sd-drawer__menu-list-holder a {
    text-decoration: none;
}

.text-uppercase {
    text-transform: uppercase;
}

.sd-drawer__menu-list-holder--active .sd-drawer__menu-sub-list {
    height: auto;
    padding-top: 8px;
    padding-bottom: 24px;
    transform: translateY(0);
    opacity: 1;
}