:root {
    --clr-accent-500: hsl(60, 60%, 48%);
    --clr-accent-400: hsl(60, 60%, 50%);
    --clr-accent-300: hsl(60, 60%, 75%);
    --clr-accent-100: hsl(13, 100%, 96%);
    --clr-primary-400: hsl(0, 0%, 8.24%);
    --clr-neutral-900: hsl(232, 12%, 13%);
    --clr-neutral-500: dimgrey;
    --clr-neutral-200: hsl(0 0% 97%);
    --clr-neutral-100: hsl(0 0% 100%);
    --clr-border-200: hsl(0, 0%, 89.8%);
    /*#e5e5e5 */

    --ff-primary: "Open Sans";
    --ff-secondary: "Noto Sans HK";
    --fw-light: 300;
    --fw-regular: 400;
    --fw-medium: 500;
    --fw-semi-bold: 600;
    --fw-bold: 700;
    --fw-extra-bold: 800;
    --fs-025: 0.625rem;
    /* 11px */
    --fs-050: 0.688rem;
    /* 11px */
    --fs-100: 0.75rem;
    /* 12px */
    --fs-200: 0.813rem;
    /* 13px */
    --fs-300: 0.875rem;
    /* 14px */
    --fs-350: 0.938rem;
    /* 15px */
    --fs-400: 1rem;
    /* 16px */
    --fs-500: 1.125rem;
    /* 18px */
    --fs-600: 1.375rem;
    /* 22px */
    --fs-700: 1.625rem;
    /* 26px */
    --fs-800: 1.875rem;
    /* 30px */
    --fs-900: 2.75rem;
    /* 44px */

    --br-400: 0.375rem;
    /* border-radius */

    --size-100: 0.25rem;
    --size-200: 0.5rem;
    --size-300: 0.75rem;
    --size-400: 1rem;
    --size-500: 1.5rem;
    --size-600: 2rem;
    --size-700: 3rem;
    --size-800: 4rem;
    --size-900: 5rem;
}


/* @font-face {
font-family: 'Roboto Condensed';
font-style: normal;
font-weight: 700;
src: local(''), url('../fonts/RobotoCondensed-SemiBold.woff2') format('woff2'),
  url('../fonts/RobotoCondensed-SemiBold.woff') format('woff');
} */

/* noto-sans-hk-regular - latin */
@font-face {
    font-family: 'Noto Sans HK';
    font-style: normal;
    font-weight: 400;
    src: local(''), url('../fonts/noto-sans-hk-v21-latin-regular.woff2') format('woff2'), url('../fonts/noto-sans-hk-v21-latin-regular.woff') format('woff');
}

/* noto-sans-hk-500 - latin */
@font-face {
    font-family: 'Noto Sans HK';
    font-style: normal;
    font-weight: 500;
    src: local(''), url('../fonts/noto-sans-hk-v21-latin-500.woff2') format('woff2'), url('../fonts/noto-sans-hk-v21-latin-500.woff') format('woff');
}

/* noto-sans-hk-700 - latin */
@font-face {
    font-family: 'Noto Sans HK';
    font-style: normal;
    font-weight: 700;
    src: local(''), url('../fonts/noto-sans-hk-v21-latin-700.woff2') format('woff2'), url('../fonts/noto-sans-hk-v21-latin-700.woff') format('woff');
}


/* open-sans-300 - latin */
@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 300;
    src: local(''), url('../fonts/open-sans-v34-latin-300.woff2') format('woff2'), url('../fonts/open-sans-v34-latin-300.woff') format('woff');
}

/* open-sans-regular - latin */
@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 400;
    src: local(''), url('../fonts/open-sans-v34-latin-regular.woff2') format('woff2'), url('../fonts/open-sans-v34-latin-regular.woff') format('woff');
}

/* open-sans-600 - latin */
@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 600;
    src: local(''), url('../fonts/open-sans-v34-latin-600.woff2') format('woff2'), url('../fonts/open-sans-v34-latin-600.woff') format('woff');
}

/* open-sans-700 - latin */
@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 700;
    src: local(''), url('../fonts/open-sans-v34-latin-700.woff2') format('woff2'), url('../fonts/open-sans-v34-latin-700.woff') format('woff');
}

/* open-sans-800 - latin */
@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 800;
    src: local(''), url('../fonts/open-sans-v34-latin-800.woff2') format('woff2'), url('../fonts/open-sans-v34-latin-800.woff') format('woff');
}

/* open-sans-300 italic - latin */
@font-face {
    font-family: 'Open Sans';
    font-style: italic;
    font-weight: 300;
    src: local(''), url('../fonts/open-sans-v34-latin-300italic.woff2') format('woff2'), url('../fonts/open-sans-v34-latin-300italic.woff') format('woff');
}

/* open-sans-italic - latin */
@font-face {
    font-family: 'Open Sans';
    font-style: italic;
    font-weight: 400;
    src: local(''), url('../fonts/open-sans-v34-latin-italic.woff2') format('woff2'), url('../fonts/open-sans-v34-latin-italic.woff') format('woff');
}

/* open-sans-600italic - latin */
@font-face {
    font-family: 'Open Sans';
    font-style: italic;
    font-weight: 600;
    src: local(''), url('../fonts/open-sans-v34-latin-600italic.woff2') format('woff2'), url('../fonts/open-sans-v34-latin-600italic.woff') format('woff');
}

/* open-sans-700italic - latin */
@font-face {
    font-family: 'Open Sans';
    font-style: italic;
    font-weight: 700;
    src: local(''), url('../fonts/open-sans-v34-latin-700italic.woff2') format('woff2'), url('../fonts/open-sans-v34-latin-700italic.woff') format('woff');
}

/* open-sans-800italic - latin */
@font-face {
    font-family: 'Open Sans';
    font-style: italic;
    font-weight: 800;
    src: local(''), url('../fonts/open-sans-v34-latin-800italic.woff2') format('woff2'), url('../fonts/open-sans-v34-latin-800italic.woff') format('woff');
}


/* Box sizing rules */
*,
*::before,
*::after {
    box-sizing: border-box;
}

/* Remove default margin */
* {
    margin: 0;
    padding: 0;
    font: inherit;
}

/* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */
ul[role="list"],
ol[role="list"] {
    list-style: none;
}

html {
    scrollbar-gutter: stable;
    overflow-y: scroll;
}


    /* Set core root defaults */
    html:focus-within {
        scroll-behavior: smooth;
    }

/*html,
body {
    height: 100%;
}*/

/* Set core body defaults */
body {
    text-rendering: optimizeSpeed;
    line-height: 1.5;
    overflow-y: scroll; /* Show vertical scrollbar */
}

/* A elements that don't have a class get default styles */
a:not([class]) {
    text-decoration-skip-ink: auto;
}

/* Make images easier to work with */
img,
picture,
svg {
    max-width: 100%;
    display: block;
}


/* .logo-text {
font-family: "Roboto Condensed";
font-size:24px;
font-weight:600;
letter-spacing: -1px;
} */


/* Remove all outlines on HTML elements */
/** {  
 outline: none;  
}*/


body {
    background-color: var(--clr-neutral-100);
    font-family: var(--ff-primary);
    color: var(--clr-primary-400);
    font-weight: var(--fw-regular);
    font-size: 16px;
}

/* typo ------------------------------------------------- */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--ff-secondary);
    font-weight: var(--fw-bold);
}

h1 {
    font-size: var(--fs-900);
}

h2 {
    font-size: var(--fs-700);
}

h3 {
    font-size: var(--fs-600);
}

h4 {
    font-size: var(--fs-500);
}

h5 {
    font-size: var(--fs-350);
}

h6 {
    font-size: var(--fs-200);
}


/* button ------------------------------------------------- */

.button {
    display: inline-flex;
    justify-content: center;
    cursor: pointer;
    text-decoration: none;
    border: 0;
    border-radius: var(--br-400);
    padding: 1rem;
    font-weight: var(--fw-bold);
    font-size: var(--fs-300);
    line-height: 0.5rem;
    color: var(--clr-neutral-100);
    background-color: var(--clr-accent-400);
    font-family: var(--ff-secondary);
}

.button-subscribe {
    overflow: hidden;
    padding: 8px 20px 8px 44px;
    background-image: url(../img/mail-white.svg);
    background-position: 20px 50%;
    background-size: 16px;
    background-repeat: no-repeat;
    font-size: var(--fs-200);
    line-height: 22px;
    text-align: left;
    height: 40px;
}

.button-action {
    display: inline-flex;
    justify-content: center;
    cursor: pointer;
    text-decoration: none;
    border: 0;
    border-radius: var(--br-400);
    padding: 0.85rem;
    font-weight: var(--fw-regular);
    font-size: var(--fs-200);
    line-height: 0.5rem;
    color: var(--clr-neutral-100);
    background-color: var(--clr-neutral-500);
    font-family: var(--ff-secondary);
}


.button[data-width="fullwidth"] {
    width: 100%;
}

.button:hover,
.button:focus-visible {
    background-color: var(--clr-accent-500);
}

input:focus {
    outline: none;
    border: 1px solid var(--clr-accent-500) !important;
    /*  border: 1px solid #007BFF;  Custom border on focus */
    /* box-shadow: 0 0 5px rgba(0,123,255,0.5);  Custom shadow on focus */
}

.button-icon {
    display: inline-flex;
    justify-content: center;
    cursor: pointer;
    text-decoration: none;
    border: 0;
    border-radius: 5px;
    padding: 0.5rem;
    font-weight: var(--fw-bold);
    font-size: var(--fs-300);
    color: var(--clr-neutral-100);
    background-color: var(--clr-accent-400);
}

    .button-icon:hover,
    .button-icon:focus-visible {
        background-color: var(--clr-accent-500);
    }

    .button-icon:disabled {
        background-color: lightgrey;
        cursor: not-allowed;
    }


.text-link-dark {
    transition: color 200ms ease;
    color: #151515;
    text-decoration: underline;
}

    .text-link-dark:hover {
        color: var(--clr-accent-500);
    }

/* grid main layout for the whole page ----------------------------------------------- */

.page-grid {
    display: grid;
    grid-template-columns: 1fr minmax(991px, 1170px) 1fr;
    gap: 0px 0px;
    grid-auto-flow: row;
    min-width: 350px;
}

@media (max-width: 991px) {
    .page-grid {
        grid-template-columns: 1fr minmax(579px, 990px) 1fr;
    }
}



@media (max-width: 579px) {
    .page-grid {
        grid-template-columns: 1fr minmax(350px, 578px) 1fr;
    }
}

/* all content goes to center column ignore left and right column */
.page-grid > * {
    grid-column: 2;
}

.grid-full-bleed {
    grid-column: 1 / -1;
}




.section-spacer {
    margin-top: 4rem;
}

.section-spacer-half {
    margin-top: 2rem;
}


.line-seperator {
    margin-top: 4rem;
    border-bottom: 1px solid var(--clr-border-200);
    margin-bottom: 2rem;
}



/* menu header nav --------------------------------------------------------------*/

.wrapper-header {
    border-top: 1px solid var(--clr-border-200);
    border-bottom: 1px solid var(--clr-border-200);
    /* box-shadow: 0 -1px 0 0 #e6e6e6, 0 1px 0 0 rgba(21, 21, 21, 0.11); */
    /*margin-bottom: 2rem;*/
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    /* Adjust this value as needed */


    .header

{
    display: flex;
    justify-content: space-between;
    align-items: center;
    column-gap: 1rem;
    padding: 0px 10px;
    background-color: var(--clr-neutral-100);
    color: var(--clr-primary-400);
    height: 80px;
    .logo

{
    max-width: 200px;
}

}
}

.header-spacer-top {
    margin-top: 2rem;
}

.inner-padding {
    padding: 0px 10px;
}

nav {
    flex: auto;
}

.button-subscribe {
    flex: auto;
}

.nav-list {
    list-style: none;
    display: flex;
}

    .nav-list li a {
        color: #151515;
        text-decoration: none;
        font-size: var(--fs-300);
        font-weight: var(--fw-semi-bold);
        padding: 8px 16px;
        border-radius: var(--br-400);
    }

        .nav-list li a:hover {
            background-color: #f6f6f6;
        }




.burger-menu {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 2;
    background-color: white;
}

    .burger-menu span {
        width: 25px;
        height: 3px;
        background-color: var(--clr-primary-400);
        transition: transform 0.3s ease, opacity 0.3s ease;
    }


.side-bar {
    position: fixed;
    top: 0px;
    right: -75%;
    width: 75%;
    height: 100%;
    background-color: rgba(255, 255, 255, 1);
    border-left: 1px solid #ccc;
    border-radius: var(--br-400);
    padding-top: 20px;
    transition: right 0.3s ease;
    z-index: 1;
    .search-form

{
    padding-left: 20px;
    padding-right: 80px;
    padding-top: 50px;
}

.search-form-input {
    border: 1px solid #e6e6e6;
}

}

.box-shadow-none {
    box-shadow: none;
}

.sidebar-nav {
    padding: 30px !important;
    padding-top: 30px !important;
}

    .sidebar-nav .subnav-header {
        display: block;
        color: black;
        text-decoration: none;
        font-size: 1.4rem;
    }

    .sidebar-nav a {
        display: block;
        color: black;
        text-decoration: none;
    }

    .sidebar-nav .subnav {
        padding-bottom: 1rem;
        padding-top: 0.7rem;
    }

        .sidebar-nav .subnav a {
            font-size: 1rem;
            display: block;
            margin-bottom: 0.8rem;
        }

            .sidebar-nav .subnav a:hover {
                text-decoration: underline;
            }




/* mnega menu nav ----------------------------------------------------------- */

nav.wrapper {
    height: 80px;
    line-height: 80px;
}

.nav-links {
    display: inline-flex;
    input

{
    display: none;
}

}

.nav-links li {
    list-style: none;
}

    .nav-links li a {
        color: #151515;
        text-decoration: none;
        font-size: var(--fs-300);
        font-weight: var(--fw-semi-bold);
        padding: 8px 16px;
        border-radius: var(--br-400);
        transition: all 0.3s ease;
    }

        .nav-links li a:hover {
            background-color: #f6f6f6;
        }

.nav-links .mobile-item {
    display: none;
}

.nav-links .drop-menu {
    position: absolute;
    background: var(--clr-neutral-100);
    width: auto;
    line-height: 45px;
    top: 70px;
    opacity: 0;
    visibility: hidden;
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
    border-radius: var(--br-400);
}

.nav-links li:hover .drop-menu,
.nav-links li:hover .mega-box {
    transition: all 0.3s ease;
    top: 70px;
    opacity: 1;
    visibility: visible;
}

.drop-menu {
    padding: 10px 0 !important;
}

    .drop-menu li a {
        display: block;
        padding: 10px 32px 10px 26px !important;
        transition: padding 400ms ease, background-color 200ms ease;
        color: #151515;
        font-size: 13px;
        line-height: 20px;
        font-weight: 600;
        text-decoration: none;
        border-radius: 0px;
        padding-left: 0px;
        margin-left: 0px;
    }

.mega-box {
    position: absolute;
    left: 0;
    width: 100%;
    padding: 0 30px;
    top: 70px;
    opacity: 0;
    visibility: hidden;
}

.mega-box-grid {
    display: grid;
    grid-template-columns: 180px 1fr 1fr 1fr 1fr;
    grid-column-gap: var(--fs-600);
    grid-row-gap: var(--fs-300);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
    border-radius: var(--br-400);
    background: var(--clr-neutral-100);
    padding: 25px 20px;
}

.mega-box .dropdown-sidebar-link {
    display: block;
    padding: 10px 20px;
    border-radius: 6px;
    transition: padding 400ms ease, background-color 200ms ease;
    color: #151515;
    font-size: 14px;
    line-height: 20px;
    font-weight: 600;
    text-decoration: none;
}

.mega-box h6 {
    padding-top: 0.5rem;
    line-height: 20px;
    font-size: 13px;
}

.mega-box .image {
    border-radius: var(--br-400);
    width: 100%;
    padding-top: 66.64%;
    background-size: cover;
    background-repeat: no-repeat;
}

.mega-box .post-info {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    align-items: center;
    font-size: var(--fs-050);
    margin-top: 0.5rem;
    line-height: 20px;
}

.mega-box .post-info-block {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.mega-box .divider-small {
    width: 1px;
    height: 16px;
    margin: 0 0.75rem;
    background-color: #e6e6e6;
}

    .mega-box .divider-small.transparent {
        opacity: 0.5;
    }

.mega-box .mini-icon {
    position: relative;
    top: -1px;
    width: 14px;
    height: 14px;
    margin-right: 6px;
    background-size: contain;
}

.mega-box .calendar {
    background-image: url('/v2/img/calendar.svg');
    opacity: 0.5;
}

.mega-box .clock {
    background-image: url('/v2/img/clock.svg');
    opacity: 0.5;
}


/*.wrapper .btn {
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  display: none;
}

  .wrapper .btn.close-btn {
      position: absolute;
      right: 30px;
      top: 10px;
  }*/





/* Media query for responsive design */
@media (max-width:991px) {
    .nav-list {
        display: none;
    }

    .nav-links {
        display: none;
    }

    .burger-menu {
        display: flex;
    }

    .search-form-top {
        display: none;
    }
}

@media screen and (min-width: 991px) {
    .side-bar {
        display: none;
    }
}



.burger-menu.open span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 5px);
}

.burger-menu.open span:nth-child(2) {
    opacity: 0;
}

.burger-menu.open span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -5px);
}

.side-bar.open {
    right: 0;
}


.search-form {
    flex: auto;
}

.search-form-input,
.search-form-input-news {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 40px;
    margin-top: 0px;
    margin-bottom: 0px;
    padding-right: 16px;
    padding-left: 40px;
    border-style: solid;
    border-width: 1px;
    border-color: #e6e6e6;
    border-radius: 6px;
    background-image: url(../img/search.svg);
    background-position: 12px 50%;
    background-size: 15px;
    background-repeat: no-repeat;
    transition: width 300ms ease, border-color 300ms ease;
    color: #151515;
    font-size: 13px;
    line-height: 32px;
    text-align: left;
    cursor: pointer;
}


.search-form-input-news {
    background-image: none;
    padding-left: 16px;
    width: 250px;
    /*max-width: 300px;*/
}

    .search-form-input:hover,
    .search-form-input-news:hover {
        border-color: #d1d1d1;
    }

    .search-form-input:focus,
    .search-form-input-news:focus {
        /*width: 300px;*/
        /*width:225px;*/
        padding-left: 40px;
        border-color: #cccc33;
    }

    .search-form-input-news:focus {
        /*  max-width: 300px;*/
        padding-left: 16px;
        border-color: #cccc33;
    }

    /*.search-form-input::-webkit-input-placeholder {
  color: transparent;
}

.search-form-input:-ms-input-placeholder {
  color: transparent;
}

.search-form-input::-ms-input-placeholder {
  color: transparent;
}*/

    .search-form-input::placeholder,
    .search-form-input-news::placeholder {
        color: #9b9b9b;
    }


@media screen and (max-width: 579px) {
    .search-form-input-news {
        width: 190px;
    }
}




/* header section block -------------------------------------------------- */

.section-header {
    margin-top: 4rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e6e6e6;
    gap: 1rem;
    /* column-gap if screesize gets to small and line break needed */

    h3

{
    margin-right: 1rem;
}

.icon-wrapper {
    position: relative;
    top: 10px;
    display: flex;
    align-items: center;
    a

{
    text-decoration: none;
    color: #777;
    font-weight: var(--fw-semi-bold);
    font-size: var(--fs-025);
    text-transform: uppercase;
    margin-right: 0.5rem;
}

}

.icon {
    position: relative;
    background-image: url('../img/right.svg');
    width: 20px;
    height: 20px;
    background-size: cover;
    border: 1px solid #666;
    border-radius: 3px;
    opacity: 0.3;
    cursor: pointer;
    padding: 2px;
    top: 1px;
}

.icon-wrapper:hover .icon {
    background-color: var(--clr-accent-500);
    background-image: url('../img/right-white_1.svg');
    border-color: var(--clr-accent-500);
    opacity: 1;
}

}

.header-line {
    position: relative;
    left: 0px;
    top: auto;
    right: auto;
    bottom: 2px;
    z-index: 1;
    width: 64px;
    height: 2px;
    background-color: #151515;
}

@media screen and (max-width: 991px) {
    .section-header {
        flex-wrap: nowrap;
        gap: 0;
        .icon-wrapper p

{
    display: none;
}

}
}

/* two and one column page layout grid ------------------------------------------------------------ */

.grid-2-column-page {
    grid-template-columns: 1fr 325px;
}

.grid-1-column-page {
    grid-template-columns: 1fr;
}

.grid-2-column-page, .grid-1-column-page {
    display: grid;
    grid-column-gap: 4rem;
    grid-row-gap: var(--fs-300);
    .section-header

{
    margin-top: 2rem;
}

.column-1 {
    /*.custom-slider {
        display:none;
    }
       */
    .grid-list

{
    margin-top: 2rem;
}

.grid-list-item {
    font-size: var(--fs-300);
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
    margin-top:2rem;
    h3

{
    margin-bottom: 1rem;
    color: #151515;
    line-height: 28px;
}

h4 {
    margin-bottom: 1rem;
    color: #151515;
    line-height: 25px;
}

h5 {
    margin-bottom: 1rem;
    color: #151515;
    line-height: 22px;
}

a {
    text-decoration: none;
}

    a:hover {
        text-decoration: underline;
        color: #151515;
    }

.post-info {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    align-items: center;
    font-size: var(--fs-050);
    margin-top: 1rem;
}

.post-summary {
    margin-bottom: 1rem;
    strong

{
    font-weight: 700;
}

}

.post-info-block {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.mini-icon {
    position: relative;
    top: 0px;
    width: 14px;
    height: 14px;
    margin-right: 6px;
    background-size: contain;
    opacity: 0.5;
}

.post-stock {
    color: #777777;
    font-weight: var(--fw-semi-bold);
}

.divider-small {
    width: 1px;
    height: 16px;
    margin: 0 0.75rem;
    background-color: #e6e6e6;
}

.clock {
    background-image: url('../img/clock.svg');
}

.calendar {
    background-image: url('../img/calendar.svg');
}

.image-wrapper {
    overflow: hidden;
    border-radius: 6px;
    .image

{
    width: 250px;
    height: 200px;
    background-position: 50% 50%;
    background-size: cover;
    background-repeat: no-repeat;
    object-fit: contain;
    border-radius: 6px;
}

.image-news {
    /*              position: relative;*/
    width: 100%;
    padding-top: 66.66667%;
    border: 1px solid #e6e6e6;
    border-radius: var(--br-400);
    border-radius: var(--br-400);
    background-repeat: no-repeat;
    background-position: center center;
}

}

.badge {
    position: absolute;
    margin-top: 0.5rem;
    margin-left: 0.5rem;
    margin-bottom: 1rem;
    display: inline-block;
    padding: 4px 12px;
    padding-bottom: 4px;
    border-radius: 12px;
    background-color: rgba(21, 21, 21, 0.7);
    font-family: var(--ff-secondary);
    color: var(--clr-neutral-100);
    font-size: var(--fs-050);
    font-weight: var(--fw-bold);
}

}
}

.column-2 {
    .trading-tips-wrapper

{
    margin-top: 2rem;
}

}
}

@media screen and (max-width: 991px) {
    .grid-2-column-page {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 579px) {
    .grid-list-item {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
        padding-bottom: 1rem;
        padding-top: 1rem;
        margin-bottom: 1rem !important;
        border-bottom: 1px solid #e6e6e6;
        .image

{
    width: 100% !important;
    height: 250px !important;
    background-position: 50% 50%;
    background-size: cover;
    background-repeat: no-repeat;
    object-fit: contain;
}

/*       .content-wrapper {
               margin:0rem 0;
           }*/
/*
           h6 {
               font-size:20px;
           }*/
/*   .subheader {
               font-size:16px!important;
           }*/
}


.sidebar-block .grid-list-item {
    grid-template-columns: 1fr !important;
    /*   gap: 1rem !important;*/
    gap: 0rem !important;
    /*    padding-bottom: 1rem;*/
    padding-top: 0rem;
    /*    margin-bottom:1rem;*/
    border-bottom: 1px solid #e6e6e6;
    .image

{
    width: 100% !important;
    height: 250px !important;
    background-position: 50% 50%;
    background-size: cover;
    background-repeat: no-repeat;
    object-fit: contain;
}

.content-wrapper {
    margin: 1rem 0;
}

h6 {
    font-size: 18px;
    line-height: 26px;
}

.subheader {
    font-size: 15px !important;
}

}


.grid-list-wrapper .grid-list-item:last-child {
    border-bottom: none;
}

.grid-2-column-page {
    grid-template-columns: 1fr;
    .column-1

{
    max-width: 95vw;
    /* fix hack to force research content to fit into max window screen size */
}

}
}



/* right column trading maincontent component  ------------------------------------------------------------- */
.trading-tips-maincontent-wrapper {
    padding: 48px;
    border-style: solid;
    border-width: 1px;
    border-color: #e6e6e6;
    border-radius: 6px;
    /*    text-align: center;*/


    .subscribe-v3-text

{
    margin-top: 0px;
    margin-bottom: 2rem;
    font-family: 'Noto Sans HK', sans-serif;
    font-size: 18px;
    line-height: 26px;
    font-weight: 700;
}

.subscribe-v3-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-row-gap: 16px;
    grid-column-gap: 16px;
}

@media (max-width: 579px) {
    .subscribe-v3-grid {
        grid-template-columns: 1fr;
    }
}

.input {
    height: 48px;
    margin-bottom: 0px;
    padding: 8px 24px;
    border-style: solid;
    border-width: 1px;
    border-color: #e6e6e6;
    border-radius: 6px;
    background-color: #f6f6f6;
    box-shadow: none;
    transition: border-color 300ms ease, background-color 300ms ease;
    font-size: 14px;
    line-height: 20px;
    flex: 1;
}

.button {
    height: 48px;
    flex: 1;
}

.text-link-dark {
    transition: color 200ms ease;
    color: #151515;
    text-decoration: underline;
}

    .text-link-dark:hover {
        color: var(--clr-accent-500);
    }

.form-info {
    margin-top: 20px;
    color: #777;
    font-size: 11px;
    line-height: 16px;
}

}

/* right column trading tips ------------------------------------------------------------- */
.trading-tips-wrapper {
    .subscribe-v3-text

{
    margin-bottom: 16px;
    font-size: var(--fs-300);
}

.subscribe-v3-grid {
    display: grid;
    grid-template-columns: 1fr;
    grid-row-gap: 16px;
    grid-column-gap: 16px;
}

.input {
    height: 48px;
    margin-bottom: 0px;
    padding: 8px 24px;
    border-style: solid;
    border-width: 1px;
    border-color: #e6e6e6;
    border-radius: 6px;
    background-color: #f6f6f6;
    box-shadow: none;
    transition: border-color 300ms ease, background-color 300ms ease;
    font-size: 14px;
    line-height: 20px;
}

.button {
    height: 48px;
}

.text-link-dark {
    transition: color 200ms ease;
    color: #151515;
    text-decoration: underline;
}

    .text-link-dark:hover {
        color: var(--clr-accent-500);
    }

.form-info {
    margin-top: 20px;
    color: #777;
    font-size: 11px;
    line-height: 16px;
}

}

/* news-grid  home page -------------------------------------------------------------------- */
.section-news {
    margin-top: var(--size-400);
    a

{
    text-decoration: none;
    color: #151515;
    font-size: var(--fs-350);
}

.news-grid-item {
    display: grid;
    grid-template-columns: 100px 1fr;
    border-bottom: 1px solid #e6e6e6;
    padding: var(--size-400) var(--size-100);
    text-decoration: none;
    grid-column-gap: var(--size-400);
}

p {
    margin-top: var(--size-100);
    color: #777777;
}

.date {
    margin-top: 0;
    font-size: var(--fs-300);
    font-weight: var(--fw-semi-bold);
}

.news-image {
    width: 80px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: top left;
}

a:hover .news-grid-item {
    background-color: #e6e6e6;
}

}


/* image teaser home grid------------------------------------------------------------------ */
.teaser-image {
    position: relative;
    background-position: 50% 50%;
    background-size: cover;
    border-radius: var(--br-400);
    .link

{
    font-size: var(--fs-300);
    font-weight: var(--fw-bold);
    text-decoration: none;
    color: var(--clr-neutral-100);
}

.preheader {
    margin-bottom: 0.5rem;
    font-size: var(--fs-350);
}

h2 {
    margin-bottom: 0.5rem;
}

.link:hover {
    text-decoration: underline;
}

.badge {
    margin-bottom: 1rem;
    display: inline-block;
    padding: 4px 12px;
    padding-bottom: 4px;
    border-radius: 12px;
    background-color: rgba(21, 21, 21, 0.7);
    font-family: var(--ff-secondary);
    color: var(--clr-neutral-100);
    font-size: var(--fs-050);
    font-weight: var(--fw-bold);
}

.content {
    position: absolute;
    bottom: 0;
    color: var(--clr-neutral-100);
    width: 100%;
    padding: 2rem;
}

@media (max-width: 579px) {
    h2 {
        font-size: var(--fs-600);
        line-height: 28px;
    }

    .preheader {
        font-size: var(--fs-300);
    }
}

}

.grid-teaser {
    display: grid;
    overflow: hidden;
    margin-top: 2rem;
    grid-template-columns: 66% 1fr;
    grid-template-rows: 544px;
    border-radius: 6px;
    background-color: #f6f6f6;
    .content a

{
    text-decoration: none;
    color: #fff;
}

.content a:hover {
    text-decoration: underline;
}

.scroll-list {
    position: relative;
    overflow: auto;
    .grid-list-item

{
    padding-top: var(--size-500);
    margin-right: var(--size-600);
    margin-left: var(--size-600);
    padding-bottom: var(--size-500);
    border-bottom: 1px solid #e6e6e6;
    display: flex;
    .image-wrapper

{
    overflow: hidden;
    border-radius: 6px;
    flex: 0 0 80px;
    height: 80px;
}

.content-wrapper a {
    text-decoration: none;
    color: #151515;
}

    .content-wrapper a:hover {
        text-decoration: underline;
    }

.subheader a {
    color: #777;
}

}

.grid-list-item:last-of-type {
    border-bottom: none;
}

}
}

.grid-teaser,
.research-grid {
    .content-wrapper

{
    flex: 1;
    padding-left: 1rem;
    .subheader

{
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: var(--fs-350);
    color: #777777;
    font-weight: var(--fw-bold);
}

}

.content-wrapper a {
    text-decoration: none;
    color: #151515;
}

    .content-wrapper a:hover {
        text-decoration: underline;
    }

.subheader a {
    color: #777;
}

.post-info {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    align-items: center;
    font-size: var(--fs-050);
    margin-top: 0.5rem;
}

.post-info-block {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.divider-small {
    width: 1px;
    height: 16px;
    margin: 0 8px;
    background-color: #e6e6e6;
}

    .divider-small.transparent {
        opacity: 0.5;
    }



.mini-icon {
    position: relative;
    top: -1px;
    width: 14px;
    height: 14px;
    margin-right: 6px;
    background-size: contain;
    /*   opacity: 0.5;   */
}

.calendar {
    background-image: url('../img/calendar-white.svg');
}

.clock {
    background-image: url('../img/clock-white.svg');
}

.grid-list-item .calendar {
    background-image: url('../img/calendar.svg');
    opacity: 0.5;
}

.grid-list-item .clock {
    background-image: url('../img/clock.svg');
    opacity: 0.5;
}

}

.img-zoom-in {
    border-radius: var(--br-400);
    background-position: 50% 50%;
    background-size: cover;
    background-repeat: no-repeat;
    transition: all 0.4s ease;
}

    .img-zoom-in:hover {
        border-radius: var(--br-400);
        transform: scale(1.1, 1.1);
    }

.gradient-overlay {
    position: relative;
    display: block;
}

    .gradient-overlay::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-image: linear-gradient(180deg, rgba(21, 21, 21, 0) 25%, rgba(21, 21, 21, 0.7));
        pointer-events: none;
        border-radius: var(--br-400);
        /*   border-radius: 20px; */
        /* Allows clicks to pass through the overlay */
    }

.image-container {
    position: relative;
    overflow: hidden;
}


    .image-container::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-size: cover;
        background-position: center;
        transition: transform 0.5s ease;
    }

    .image-container::after {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0);
        /* No initial darkening */
        transition: background-color 0.5s ease;
    }

    .image-container:hover::before {
        transform: scale(1.05);
    }

    .image-container:hover::after {
        background-color: rgba(0, 0, 0, 0.1);
        /* Darkening effect */
    }


/* news-grid maincontent component ----------------------------------------------------------- */

.news-maincontent-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-column-gap: var(--fs-600);
    grid-row-gap: var(--fs-300);
    .grid-item

{
    margin-top: 2rem;
    .content-wrapper

{
    flex: 1;
    padding-left: 0;
}

h4 {
    padding-top: var(--size-400);
}

.image {
    border-radius: var(--br-400);
    width: 100%;
    padding-top: 66.64%;
    background-size: cover;
    background-repeat: no-repeat;
}

.calendar {
    background-image: url('../img/calendar.svg');
    opacity: 0.5;
}

.clock {
    background-image: url('../img/clock.svg');
    opacity: 0.5;
}

a {
    text-decoration: none;
    color: #151515;
}

    a:hover {
        text-decoration: underline;
    }

}




.content-wrapper {
    flex: 1;
    padding-left: 1rem;
    .subheader a

{
    display: inline-block;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: var(--fs-350);
    color: #777777;
    font-weight: var(--fw-bold);
}

h5 {
    color: #151515;
}

}

.post-info {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    align-items: center;
    font-size: var(--fs-050);
    margin-top: 0.5rem;
}

.post-info-block {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}


.divider-small {
    width: 1px;
    height: 16px;
    margin: 0 0.75rem;
    background-color: #e6e6e6;
}

    .divider-small.transparent {
        opacity: 0.5;
    }

.mini-icon {
    position: relative;
    top: -1px;
    width: 14px;
    height: 14px;
    margin-right: 6px;
    background-size: contain;
    /*   opacity: 0.5;   */
}

.calendar {
    background-image: url('../img/calendar-white.svg');
}

.clock {
    background-image: url('../img/clock-white.svg');
}

.grid-list-item .calendar {
    background-image: url('../img/calendar.svg');
    opacity: 0.5;
}

.grid-list-item .clock {
    background-image: url('../img/clock.svg');
    opacity: 0.5;
}

}


@media screen and (max-width: 579px) {
    .news-maincontent-grid {
        grid-template-columns: 1fr;
        .grid-item

{
    border-bottom: 1px solid #efefef;
    padding-bottom: 1rem;
    margin-top: 1rem;
}

.grid-item:last-child {
    border-bottom: none;
}

}
}


/* research-grid-home ----------------------------------------------------------- */

.research-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-column-gap: var(--fs-600);
    grid-row-gap: var(--fs-300);
    .grid-item

{
    margin-top: 2rem;
    position: relative;
    .badge-wrapper

{
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
}

.badge {
    margin-bottom: 0.5rem;
    display: inline-block;
    padding: 4px 12px;
    padding-bottom: 4px;
    border-radius: 12px;
    background-color: rgba(21, 21, 21, 0.7);
    font-family: var(--ff-secondary);
    color: var(--clr-neutral-100);
    font-size: var(--fs-050);
    font-weight: var(--fw-bold);
}

.content-wrapper {
    flex: 1;
    padding-left: 0;
}

h4 {
    padding-top: var(--size-400);
}

.image {
    border-radius: var(--br-400);
    width: 100%;
    padding-top: 66.64%;
    background-size: cover;
    background-repeat: no-repeat;
}

.calendar {
    background-image: url('../img/calendar.svg');
    opacity: 0.5;
}

.clock {
    background-image: url('../img/clock.svg');
    opacity: 0.5;
}

}
}


/* stock-grid-home -------------------------------------------------------- */


.stock-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-column-gap: var(--fs-600);
    grid-row-gap: var(--fs-300);
    .grid-item

{
    margin-top: 2rem;
    .content-wrapper

{
    flex: 1;
    padding-left: 0;
    .subheader

{
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: var(--fs-350);
    color: #777777;
    font-weight: var(--fw-bold);
}

}

h4 {
    padding-top: var(--size-400);
}

.image-wrapper {
    position: relative;
    width: 100%;
    padding-top: 66.66667%;
    border: 1px solid #e6e6e6;
    border-radius: var(--br-400);
    border-radius: var(--br-400);
    background-repeat: no-repeat;
    background-position: center center;
}

/*   .subheader {
      font-size: var(--fs-300);
      color: #777777;
    }*/

.content-wrapper a {
    text-decoration: none;
    color: #151515;
}

    .content-wrapper a:hover {
        text-decoration: underline;
    }

.subheader a {
    color: #777;
}

}
}


/* research detail page ---------------------------------------------------*/

.researchdetail-hero-section {
    position: relative;
    display: grid;
    align-items: flex-end;
    height: 80vh;
    max-height: 1080px;
    /*min-height: 600px;*/
    /*min-width:100%;*/
    background-position: 50% 50%;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: #fff;
    .post-hero-gradient

{
    position: absolute;
    left: 0%;
    top: 0%;
    right: 0%;
    bottom: 0%;
    z-index: 0;
    background-image: -webkit-gradient(linear, left top, left bottom, color-stop(25%, rgba(21, 21, 21, 0)), to(rgba(21, 21, 21, 0.8)));
    background-image: linear-gradient(180deg, rgba(21, 21, 21, 0) 25%, rgba(21, 21, 21, 0.8));
}

.post-hero-content {
    position: relative;
    z-index: 3;
    max-width: 70%;
    padding-bottom: 4rem;
}

.post-heading {
    line-height: 60px;
}

a {
    text-decoration: none;
}

    a:hover {
        text-decoration: underline;
    }

.stockname {
    margin-top: 0.5rem;
    font-weight: 700;
    font-size: 14px;
    color: #fff;
}

.badge {
    /* position:absolute;*/
    margin-bottom: 0.5rem;
    display: inline-block;
    padding: 4px 12px;
    padding-bottom: 4px;
    border-radius: 12px;
    background-color: rgba(21, 21, 21, 0.7);
    font-family: var(--ff-secondary);
    color: var(--clr-neutral-100);
    font-size: var(--fs-050);
    font-weight: var(--fw-bold);
}


.post-info {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    align-items: center;
    font-size: var(--fs-050);
    margin-top: 0.5rem;
}

.post-info-block {
    margin-top: 0.5rem;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.divider-small {
    width: 1px;
    height: 16px;
    margin: 0 0.75rem;
    background-color: #fff;
}

    .divider-small.transparent {
        opacity: 0.5;
    }

.mini-icon {
    position: relative;
    top: -1px;
    width: 14px;
    height: 14px;
    margin-right: 6px;
    background-size: contain;
    /*   opacity: 0.5;   */
}

.calendar {
    background-image: url('../img/calendar-white.svg');
}

.clock {
    background-image: url('../img/clock-white.svg');
}

}

.research-article-content {
    /*  .img-block {display:none!important;}*/
    strong

{
    font-weight: 700;
}

a {
    color: hsl(60, 60%, 50%);
    text-decoration: none;
}

    a:hover {
        text-decoration: underline;
    }

.post-bottom-info-2 {
    display: flex;
    margin-top: 8px;
    padding-top: 8px;
    padding-bottom: 8px;
    justify-content: flex-start;
    align-items: center;
    color: #777;
    font-size: 13px;
    line-height: 20px;
}

}


.header-block {
    position: relative;
    z-index: 2;
    display: flex;
    margin-bottom: 32px;
    padding-bottom: 20px;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #e6e6e6;
    .header

{
    display: flex;
    padding-bottom: 0.5rem;
    justify-content: flex-start;
    flex-wrap: wrap;
    align-items: center;
    flex: 1;
}

.header-line {
    position: absolute;
    left: 0px;
    top: auto;
    right: auto;
    bottom: -1px;
    z-index: 1;
    width: 64px;
    height: 2px;
    background-color: #151515;
}

}

/* footer-grid -------------------------------------------------------- */


.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-column-gap: var(--fs-600);
    grid-row-gap: var(--fs-300);
    .grid-item

{
    margin-top: 2rem;
    /*  .content-wrapper {
    flex: 1;
    padding-left: 0;
  } */

    .header-wrapper

{
    margin-bottom: 2rem;
}

p {
    font-size: var(--fs-300);
    color: #777777;
}

.nav-link {
    position: relative;
    display: flex;
    margin-bottom: -1px;
    padding-top: 12px;
    padding-bottom: 12px;
    justify-content: flex-start;
    align-items: center;
    border-top: 1px solid #e6e6e6;
    border-bottom: 1px solid #e6e6e6;
    transition: padding 400ms ease, background-color 400ms ease;
    color: #151515;
    font-weight: 600;
    text-decoration: none;
    font-size: var(--fs-300);
    padding-right: 24px;
}

.nav-arrow {
    position: absolute;
    right: 0px;
    width: 16px;
    margin-right: 10px;
    opacity: 0.5;
}

.grid-list-item {
    font-size: var(--fs-300);
    display: flex;
    a

{
    text-decoration: none;
    color: #151515;
}

a:hover {
    text-decoration: underline;
    color: #151515;
}

.post-info {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    align-items: center;
    font-size: var(--fs-050);
    margin-top: 0.5rem;
}

.post-info-block {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.mini-icon {
    position: relative;
    top: 0px;
    width: 14px;
    height: 14px;
    margin-right: 6px;
    background-size: contain;
    opacity: 0.5;
}

.clock {
    background-image: url('../img/clock.svg');
}

.image-wrapper {
    overflow: hidden;
    border-radius: 6px;
    flex: 0 0 80px;
    height: 80px;
    margin-right: 1rem;
    margin-bottom: 2rem;
}

.image {
    border-radius: 6px;
    width: 80px;
    height: 80px;
    background-position: 50% 50%;
    background-size: cover;
    background-repeat: no-repeat;
    object-fit: contain;
}

}

.trading-tips-wrapper {
    .subscribe-v3-text

{
    margin-bottom: 16px;
    font-size: var(--fs-300);
}

.subscribe-v3-grid {
    display: grid;
    grid-template-columns: 1fr;
    grid-row-gap: 16px;
    grid-column-gap: 16px;
}

.input {
    height: 48px;
    margin-bottom: 0px;
    padding: 8px 24px;
    border-style: solid;
    border-width: 1px;
    border-color: #e6e6e6;
    border-radius: 6px;
    background-color: #f6f6f6;
    box-shadow: none;
    transition: border-color 300ms ease, background-color 300ms ease;
    font-size: 14px;
    line-height: 20px;
}

.button {
    height: 48px;
}

.text-link-dark {
    transition: color 200ms ease;
    color: #151515;
    text-decoration: underline;
}

    .text-link-dark:hover {
        color: var(--clr-accent-500);
    }

.form-info {
    margin-top: 20px;
    color: #777;
    font-size: 11px;
    line-height: 16px;
}

}
}
}

.footer-bottom {
    display: flex;
    margin-top: 4rem;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
    justify-content: center;
    align-items: center;
    border-top: 1px solid #e6e6e6;
    color: #777;
    font-size: 9px;
    line-height: 12px;
    text-transform: uppercase;
    .footer-bottom-left

{
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    align-items: center;
    flex: auto;
    text-align: left;
}

.footer-bottom-right {
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    align-items: center;
    flex: auto;
    text-align: right;
}


.divider-small {
    width: 1px;
    height: 16px;
    margin-right: 12px;
    margin-left: 12px;
    background-color: #e6e6e6;
}

.footer-mini-icon {
    width: 14px;
    margin-right: 8px;
    opacity: 0.5;
}

.link-dark {
    transition: color 300ms ease;
    color: #151515;
    text-decoration: none;
}

    .link-dark:hover {
        transition: color 300ms ease;
        color: var(--clr-accent-500);
        text-decoration: underline;
    }

}





/* subscribe box home -------------------------------------------------------- */

.subscribe-v2 {
    display: flex;
    padding: 64px 80px;
    justify-content: space-around;
    align-items: flex-start;
    border-style: solid;
    border-width: 1px;
    border-color: #e6e6e6;
    border-radius: 6px;
}

.subscribe-v2-heading {
    width: 50%;
    margin-top: -6px;
    margin-right: 15px;
    margin-bottom: 0px;
    padding-right: 64px;
}

.subscribe-grid-v2 {
    display: grid;
    width: 100%;
    grid-auto-columns: 1fr;
    grid-column-gap: 16px;
    grid-row-gap: 12px;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
}

.subscribe-v2-form-block {
    margin-bottom: -8px;
    flex: 1;
    .input

{
    height: 48px;
    margin-bottom: 0px;
    padding: 8px 24px;
    border-style: solid;
    border-width: 1px;
    border-color: #e6e6e6;
    border-radius: 6px;
    background-color: #f6f6f6;
    box-shadow: none;
    transition: border-color 300ms ease, background-color 300ms ease;
    font-size: 14px;
    line-height: 20px;
}

.form-info {
    margin-top: 20px;
    color: #777;
    font-size: 11px;
    line-height: 16px;
}

}

@media screen and (max-width: 991px) {
    .subscribe-v2 {
        margin-right: 8px;
        margin-left: 8px;
        padding-right: 8%;
        padding-left: 8%;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
    }

    .subscribe-v2-heading {
        width: 100%;
        margin-right: 0px;
        margin-bottom: 20px;
        padding-right: 0px;
    }
}


@media screen and (max-width: 579px) {
    .subscribe-v2 {
        padding: 2rem;
    }

    .subscribe-grid-v2 {
        grid-auto-flow: row dense;
        grid-template-columns: repeat(auto-fit, 100%);
    }
}



@media (max-width: 991px) {
    .grid-teaser {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto;
    }

    .teaser-image {
        min-height: 480px;
    }

    .research-grid {
        grid-template-columns: 1fr 1fr;
    }

    .stock-grid {
        grid-template-columns: 1fr 1fr 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-bottom {
        display: block;
        .footer-bottom-left

{
    margin-bottom: 1rem;
}

.footer-bottom-right {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    align-items: center;
    text-align: left;
}

}

.researchdetail-hero-section {
    height: 68vw;
    max-height: none;
    /*min-height: 0px;*/
    background-attachment: scroll;
    .post-hero-content

{
    padding-bottom: 2rem;
    margin-left: 1rem;
}

.post-heading {
    font-size: 22px;
    line-height: 30px;
}

}

h2 {
    font-size: 22px;
    line-height: 32px;
}

}


@media (max-width: 579px) {
    .grid-teaser {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto;
    }

    .grid-list-item {
        margin-left: var(--size-200) !important;
        margin-right: var(--size-200) !important;
    }


    .teaser-image {
        min-height: 350px;
        .content

{
    padding: 1rem;
}

}

.research-grid {
    grid-template-columns: 1fr;
    grid-row-gap: 0;
    .grid-item

{
    padding-bottom: var(--fs-400);
    border-bottom: 1px solid #e6e6e6;
}

.image {
    padding-top: 55% !important;
}

.grid-item:last-child {
    border-bottom: none;
}

}

.stock-grid {
    grid-template-columns: 1fr 1fr;
}

.footer-grid {
    grid-template-columns: 1fr;
    .grid-list-item

{
    grid-template-columns: 1fr;
    gap: 0rem;
    padding-bottom: 0rem;
    padding-top: 1rem;
    border-bottom: 1px solid #e6e6e6;
}

}

.side-bar {
    right: -95%;
    width: 95%;
    height: 100%;
}

.researchdetail-hero-section {
    height: 450px;
    .post-hero-content

{
    padding-bottom: 1rem;
}

.post-heading {
    font-size: 22px;
    line-height: 30px;
}

}
}



/* slidebar block research ----------------------------------------------------------------------------------- */


.sidebar-list {
    margin-top: 2rem;
    margin-bottom: 4rem;
    .grid-list-item

{
    display: grid;
    grid-template-columns: 80px 1fr;
    grid-gap: 1rem;
    margin-bottom: 2rem;
}

.content-wrapper a {
    text-decoration: none;
    color: #151515;
}

    .content-wrapper a:hover {
        text-decoration: underline;
    }

.image {
    border-radius: 6px;
    width: 80px;
    height: 80px;
    background-position: 50% 50%;
    background-size: cover;
    background-repeat: no-repeat;
    object-fit: contain;
}

.image-stock {
    border: 1px solid #d1d1d1;
    border-radius: 6px;
    width: 80px;
    height: 80px;
    background-position: 50% 50%;
    /*background-size: cover;*/
    background-size: contain;
    background-repeat: no-repeat;
}


.subheader {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: var(--fs-100);
    color: #777777;
    font-weight: var(--fw-bold);
}

.post-info {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    align-items: center;
    font-size: var(--fs-050);
    margin-top: 0.5rem;
}

.post-info-block {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.divider-small {
    width: 1px;
    height: 16px;
    margin: 0 0.75rem;
    background-color: #e6e6e6;
}

.mini-icon {
    position: relative;
    top: -1px;
    width: 14px;
    height: 14px;
    margin-right: 6px;
    background-size: contain;
    /*   opacity: 0.5;   */
}

.calendar {
    background-image: url('../img/calendar-white.svg');
}

.clock {
    background-image: url('../img/clock-white.svg');
}

.grid-list-item .calendar {
    background-image: url('../img/calendar.svg');
    opacity: 0.5;
}

.grid-list-item .clock {
    background-image: url('../img/clock.svg');
    opacity: 0.5;
}

.icon-wrapper {
    /*    position: relative;
    top: 15px;*/
    display: flex;
    align-items: center;
    justify-content: flex-end;
    a

{
    text-decoration: none;
    color: #777;
    font-weight: var(--fw-semi-bold);
    font-size: var(--fs-025);
    text-transform: uppercase;
    margin-right: 0.5rem;
}

}

.icon {
    position: relative;
    background-image: url('../img/right.svg');
    width: 20px;
    height: 20px;
    background-size: cover;
    border: 1px solid #666;
    border-radius: 3px;
    opacity: 0.3;
    cursor: pointer;
    padding: 2px;
    top: 1px;
}

.icon-wrapper:hover .icon {
    background-color: var(--clr-accent-500);
    background-image: url('../img/right-white_1.svg');
    border-color: var(--clr-accent-500);
    opacity: 1;
}

}


.filter-box {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}



.form-success {
    padding: 8px 12px;
    border-style: solid;
    border-width: 1px;
    border-color: #cccc33;
    border-radius: 6px;
    background-color: rgba(204, 204, 51, 0.08);
    color: #cccc33;
    font-size: 12px;
    line-height: 16px;
}

.form-error {
    margin-top: 16px;
    padding: 8px 12px;
    border-style: solid;
    border-width: 1px;
    border-color: rgba(250, 52, 90, 0.3);
    border-radius: 6px;
    background-color: rgba(250, 52, 90, 0.08);
    color: #fa345a;
    font-size: 12px;
    line-height: 16px;
    text-align: center;
}


/*.custom-recom-box p {
    padding: 0;
    margin: 0;
    font-size: 15px;
}*/

.custom-recom-box table {
    border-collapse: collapse;
}

.custom-recom-box td {
    font-size: 14px;
    padding: 10px 0 10px 0;
}

.custom-recom-box .td1 {
    width: 30%;
    font-weight: 700;
    vertical-align: top;
}

.custom-recom-box .td2 {
    width: 70%;
    text-align: right;
}

.custom-recom-box .td3 {
    width: 50%;
    font-weight: 700;
    vertical-align: top;
}

.custom-recom-box .td4 {
    width: 50%;
    text-align: right;
}

.custom-recom-box tr {
    border-bottom: 1px solid #d4d4d4;
}

    .custom-recom-box tr:last-child {
        border-bottom: none;
    }



.stock-stats-box {
    width: 100%;
}

    .stock-stats-box .date-range-controls {
        margin-bottom: 1rem;
        margin-top: 1rem;
        background-color: #f8f9fa;
        padding: 0.5rem 0.5rem;
        border-radius: 6px;
 /*       display:flex;
        justify-content:center;*/
    }

    .stock-stats-box .date-inputs {
        display: flex;
        gap: 0.5rem;
        align-items: center;
    }

    .stock-stats-box .calendar-wrapper {
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

        .stock-stats-box .calendar-wrapper .label {
            font-weight: 500;
            font-size:13px;
            color: #495057;
            margin: 0;
        }

        .stock-stats-box .calendar-wrapper .input {
            padding: 0.35rem;
            border: 1px solid #ced4da;
            border-radius: 6px;
            font-size: 0.9rem;
            width: 130px;
        }

        .stock-stats-box .calendar-wrapper .select {
            padding: 0.35rem;
            border: 1px solid #ced4da;
            border-radius: 6px;
            font-size: 0.9rem;
            width: 100px;
        }


    .stock-stats-box .button-action {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 32px;
        height: 32px;
        padding: 0;
    }

    .stock-stats-box .spinner {
        width: 16px;
        height: 16px;
        border: 2px solid #f3f3f3;
        border-top: 2px solid #3498db;
        border-radius: 50%;
        animation: spin 1s linear infinite;
    }

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}


    .stock-stats-box table {
        border-collapse: collapse;
    }

    .stock-stats-box td {
        font-size: 14px;
        padding: 10px 0 10px 0;
    }

    .stock-stats-box .td1 {
        width: 70%;
        font-weight: 400;
        vertical-align: top;
    }

    .stock-stats-box .td2 {
        width: 30%;
        text-align: right;
        font-weight: 500;
    }

    .stock-stats-box th {
        font-size: 10px;
    }

    .stock-stats-box tr {
        border-bottom: 1px solid #d4d4d4;
    }

        .stock-stats-box tr:last-child {
            border-bottom: none;
        }


/* rich text old styles ----------------------------------------------- */

/*.w-richtext img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
    margin-bottom: 5px !important;
}

.w-richtext .e-img-wrap {
    max-width: 100% !important;
}

.w-richtext .e-img-inner {
    font-size: 14px !important;
    padding-left: 5px;
    display: inline-block;
}*/

.post-body {
    /*    display: flex;
    justify-content: flex-start;
    align-items: flex-start;*/

    h2

{
    margin-top: 0px;
    margin-bottom: 20px;
    font-family: 'Noto Sans HK', sans-serif;
    font-size: 26px;
    line-height: 40px;
    font-weight: 700;
}

p {
    /*        margin-bottom: 24px;
        font-size: 14px;
        line-height: 24px;
        column-span: none;*/
}

}

.post-content {
    /*    justify-content: flex-start;
    flex-wrap: wrap;
    align-items: flex-start;
    flex: 1;*/
}

.post-first-letter {
    display: inline-block;
    margin-top: 6px;
    margin-right: 12px;
    float: left;
    font-size: 64px;
    line-height: 40px;
}

.post-rich-text p {
    font-size: 16px;
    line-height: 26px;
    margin-bottom: 24px;
}

.post-rich-text a {
    color: #cccc33;
    text-decoration: none;
}

    .post-rich-text a:hover {
        text-decoration: underline;
    }

/*.post-rich-text figcaption {
    margin-top: 20px;
    font-size: 13px;
}*/

.post-rich-text img {
    border-radius: 6px;
}

.post-body-stock {
    p

{
    margin-bottom: 26px;
    font-size: 16px;
    line-height: 26px;
    column-span: none;
}

}

/* autocomplete styles search  main -------------------------------------------- */
.block-companies.block-companies-search {
    display: none;
}

.suggestions {
    width: 424px;
    position: absolute;
    display: none;
    /* border-radius: 12px; */
    overflow: hidden;
    border: 1px solid #E2E2E2;
    top: 65px;
    box-shadow: 0px 8px 20px 0px rgba(0, 0, 0, 0.05);
}

    .suggestions .block-companies.block-companies-search {
        display: flex;
        padding: 8px 12px;
        border-radius: 0;
        background: #FFF;
        box-shadow: 0px 8px 20px 0px rgba(0, 0, 0, 0.05);
        border: 0;
        border-bottom: 1px solid #E2E2E2;
        justify-content: space-between;
    }

        .suggestions .block-companies.block-companies-search:hover {
            background: #F9F9F9;
        }

        .suggestions .block-companies.block-companies-search:last-child {
            border-bottom: 0;
        }

        .suggestions .block-companies.block-companies-search .logo-companies {
            margin: 0 16px 0 0;
        }

.suggestion-item {
    cursor: pointer;
}


.autocomplete-suggestions {
    text-align: left;
    cursor: default;
    border: 1px solid #ccc;
    border-top: 0;
    background: #fff;
    box-shadow: -1px 1px 3px rgba(0, 0, 0, .1);
    position: absolute;
    display: none;
    z-index: 9999;
    /*    max-height: 254px;*/
    overflow: hidden;
    overflow-y: auto;
    box-sizing: border-box;
}

.autocomplete-suggestion {
    position: relative;
    padding: 0 .6em;
    line-height: 32px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 14px;
    color: #333;
    display: flex;
}


    .autocomplete-suggestion.selected {
        background: #f6f6f6;
    }

.search-text-wrapper {
    display: flex;
    justify-content: space-between;
    width: 100%;
}


.search-isin {
    display: inline-block;
}

.search-logo-img {
    position: relative;
    top: 3px;
    width: 30px;
}


.post-info .post-info-block div {
    color: #777;
}




/* zoom effect image  -------------------------------------------------------------------------- */


.image-zoom-wrapper {
    overflow: hidden; /* clip the excess when child gets bigger than parent */
    position: relative; /* enable positioning of overlay text */
    width: 100%;
    /*height: 256px;*/
    aspect-ratio: 3 / 2;
    border-radius: 6px;
    .badge-wrapper

{
    position: absolute;
    top: 0.2rem;
    left: 0.2rem;
    white-space: nowrap; /*Prevents Wrapping*/
    z-index: 2;
}

.badge {
    margin-bottom: 0.5rem;
    display: inline-block;
    padding: 4px 12px;
    padding-bottom: 4px;
    border-radius: 12px;
    background-color: rgba(21, 21, 21, 0.7);
    font-family: var(--ff-secondary);
    color: var(--clr-neutral-100);
    font-size: var(--fs-050);
    font-weight: var(--fw-bold);
}

}

.image-zoom-wrapper img {
    display: block;
    transition: transform .3s; /* smoother zoom */
    object-fit: cover; /* take as much space as possible */
    width: 100%; /* fill the width of the container */
    height: 100%; /* fill the height of the container */
}

.image-zoom-wrapper:hover img {
    transform: scale(1.03);
    transform-origin: 50% 50%;
}

.image-zoom-wrapper .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    transition: background-color 0.4s; /* transition effect for background color */
}

.image-zoom-wrapper:hover .overlay {
    background-color: rgba(0, 0, 0, 0.2); /* darken the background on hover */
}





.stock-tab-nav {
    .section-header

{
    margin-top: 1rem;
}

.section-header h4 {
    /*font-size:14px;*/
}

.tab-nav {
    display: grid;
    grid-auto-columns: 110px;
    grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
    grid-gap: 2px;
    background-color: #eaebec;
    border-radius: 6px;
    padding: 5px;
    margin: 0;
    margin-top: 2rem;
    margin-bottom: 2rem;
    font-weight: 700;
}

.tab {
    padding: 10px 20px;
    border: none;
    background: none;
    color: #555;
    cursor: pointer;
    border-radius: 6px;
    font-size: 14px;


    text-align: center;
}

    .tab.active {
        background-color: #cccd34;
        color: white;
        font-weight: 700;
    }

    .tab:hover {
        color: #fff;
        background-color: lightgrey;
    }

.tab-content {
    width: 100%;
}

.tab-panel {
    display: none;
}

    .tab-panel.active {
        display: block;
    }

}




.stock-tab-subnav {
    .section-header

{
    margin-top: 1rem;
}


.tab-subnav {
    display: grid;
    grid-auto-columns: 100px;
    grid-template-columns: 100px 100px 100px;
    grid-gap: 6px;
    justify-content:flex-start;
    /*    background-color: #eaebec;*/
    border-radius: 6px;
    padding: 5px;
    margin: 0;
    margin-top: 0rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.tabsubnav {
    padding: 5px 10px;
    border: none;
    background: none;
    color: #555;
    cursor: pointer;
    border-radius: 6px;
    font-size: 12px;
    text-align: center;
    background-color: #eaebec;
}

    .tabsubnav.active {
        background-color: #cccd34;
        color: white;
        font-weight: 600;
    }

    .tabsubnav:hover {
        color: #fff;
        background-color: lightgrey;
    }

.tab-contentsubnav {
    width: 100%;
}

.tab-panelsubnav {
    display: none;
}

    .tab-panelsubnav.active {
        display: block;
    }

}

/* Responsive stock-tab-nav styles */
/*.stock-tab-nav .tab-nav {
    flex-wrap: wrap;
    gap: 5px;
    justify-content: flex-start;
}

.stock-tab-nav .tab {
    flex: 1 1 auto;
    min-width: fit-content;
    white-space: nowrap;
    text-align: left;
}*/

/* overwrite syncfusion bootstrap5 styles  -------------------------- */
/*.e-btn {
    background-color: red !important;
    outline: none !important;
    border: none !important;
}*/

.e-toolbar .e-toolbar-item .e-tbar-btn.e-flat.e-active:focus {
    box-shadow: none;
}

.stockchart-wrapper {
    width: 100%;
    padding: 10px;
    border: 1px solid #dfdfdf;
    border-radius: 6px;
    font-family: Open Sans;
    /* Target the stock chart navigator background */
    /*.e-stockchart-navigator {
        background-color: red !important;*/ /* Use !important to ensure override */
    /*}*/


    .e-control, .e-css, .e-error

{
    font-family: Open Sans;
    font-size: 12px;
    font-weight: 400;
}


.e-toolbar .e-toolbar-item .e-tbar-btn {
    display: flex;
    align-items: center;
    vertical-align: middle;
    justify-content: center;
    margin: 0;
    min-height: 24px;
    min-width: 24px;
    padding: 0 4px;
    border-radius: 4px;
    line-height: 14px;
    border: none;
    cursor: pointer;
    font-size: 18px;
    font-weight: 400;
    overflow: hidden;
    text-align: center;
    text-decoration: none;
    text-transform: none;
    outline: none;
    border: none;
}


    .e-toolbar .e-toolbar-item .e-tbar-btn .e-tbar-btn-text {
        font-size: 12px;
        padding: 0px;
    }

.e-toolbar .e-toolbar-item .e-tbar-btn {
    background-color: none;
    outline: none;
    border: none;
}

    .e-toolbar .e-toolbar-item .e-tbar-btn.e-flat.e-active {
        background-color: #cccd34 !important;
        outline: none !important;
        border: none !important;
    }

        .e-toolbar .e-toolbar-item .e-tbar-btn.e-flat.e-active .e-tbar-btn-text {
            color: #fff;
        }


.e-toolbar .e-toolbar-items .e-toolbar-left .e-toolbar-item:first-child, .e-toolbar .e-toolbar-items:not(.e-tbar-pos):not(.e-toolbar-multirow) .e-toolbar-item:first-child {
    margin-left: 0px;
}

.e-dropdown-popup ul .e-item {
    cursor: pointer;
    display: flex;
    height: 30px;
    line-height: 30px;
    padding: 0 12px;
    font-size: 12px;
}
}
