/*
 * Copyright 2020 Adobe. All rights reserved.
 * This file is licensed to you under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License. You may obtain a copy
 * of the License at http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software distributed under
 * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
 * OF ANY KIND, either express or implied. See the License for the specific language
 * governing permissions and limitations under the License.
 */

:root {
    /* colors - Canara HSBC brand */
    --background-color: white;
    --light-color: #f5f7fa;
    --dark-color: #333;
    --text-color: #323232;
    --link-color: #0066b2;
    --link-hover-color: #004d86;
    --accent-color: #e31837;
    --border-color: #e0e0e0;

    /* fonts - Canara HSBC uses Satoshi + Helvetica */
    --body-font-family: "Satoshi", satoshi-fallback, sans-serif;
    --heading-font-family: "Helvetica", "Arial", sans-serif;

    /* body sizes */
    --body-font-size-m: 22px;
    --body-font-size-s: 19px;
    --body-font-size-xs: 17px;

    /* heading sizes */
    --heading-font-size-xxl: 55px;
    --heading-font-size-xl: 44px;
    --heading-font-size-l: 34px;
    --heading-font-size-m: 27px;
    --heading-font-size-s: 24px;
    --heading-font-size-xs: 22px;

    /* nav height */
    --nav-height: 64px;

   
}

/* fallback font for Satoshi */
@font-face {
    font-family: satoshi-fallback;
    size-adjust: 102%;
    src: local("Arial");
}

@media (width >= 900px) {
    :root {
        /* body sizes */
        --body-font-size-m: 18px;
        --body-font-size-s: 16px;
        --body-font-size-xs: 14px;

        /* heading sizes */
        --heading-font-size-xxl: 45px;
        --heading-font-size-xl: 36px;
        --heading-font-size-l: 28px;
        --heading-font-size-m: 22px;
        --heading-font-size-s: 20px;
        --heading-font-size-xs: 18px;
    }
}
*{
    border: 0;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
.primary-btn-outline {
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    background: transparent;
    border: 1px solid #00adef;
    color: #00adef;
    cursor: pointer;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    font-family: Satoshi;
    font-size: 1rem;
    font-weight: 500;
    line-height: 120%;
    padding: 1rem 1.6875rem;
    position: relative;
    -webkit-transition: background-color 0.3s ease;
    transition: background-color 0.3s ease;
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
}
body {
    display: none;
    margin: 0;
    background-color: var(--background-color);
    color: var(--text-color);
    font-family: var(--body-font-family);
    font-size: var(--body-font-size-m);
    line-height: 1.6;
}

body.appear {
    display: block;
}

/* Neutralise third-party tracking pixels (e.g. Microsoft Bing UET batBeacon)
   that inject fixed 20px transparent divs with z-index: 9999.
   They are visually invisible but can block pointer events on the header. */
body > div[style*="z-index: 9999"][style*="height: 20px"],
body > div[id^="batBeacon"] {
    pointer-events: none !important;
    z-index: 0 !important;
}

header {
    /* height: var(--nav-height); */
    /* display: none; */
}

header .header,
footer .footer {
    /* visibility: hidden; */
}

header .header[data-block-status="loaded"],
footer .footer[data-block-status="loaded"] {
    visibility: visible;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin-top: 0.8em;
    margin-bottom: 0.25em;
    font-family: var(--heading-font-family);
    font-weight: 600;
    line-height: 1.25;
    scroll-margin: 40px;
}

h1 {
    font-size: var(--heading-font-size-xxl);
}
h2 {
    font-size: var(--heading-font-size-xl);
}
h3 {
    font-size: var(--heading-font-size-l);
}
h4 {
    font-size: var(--heading-font-size-m);
}
h5 {
    font-size: var(--heading-font-size-s);
}
h6 {
    font-size: var(--heading-font-size-xs);
}

p,
dl,
ol,
ul,
pre,
blockquote {
    /* margin-top: 0.8em;
    margin-bottom: 0.25em; */
    margin: 0;
    padding: 0;
}

code,
pre {
    font-size: var(--body-font-size-s);
}

pre {
    padding: 16px;
    border-radius: 8px;
    background-color: var(--light-color);
    overflow-x: auto;
    white-space: pre;
}
/* 
main > div {
    margin: 40px 16px;
} */

input,
textarea,
select,
button {
    font: inherit;
}

/* links */
a:any-link {
    color: var(--link-color);
    text-decoration: none;
    overflow-wrap: break-word;
}

a:hover {
    color: var(--link-hover-color);
    text-decoration: underline;
}
.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6, p {
    margin: 0;
    padding: 0;
}
p{
      color: #323232;
    font-family: Satoshi;
    font-size: 1rem;
    font-weight: 400;
    line-height: 24px;
    margin: 1.25rem 0;
}

/* make <br> tags create visible spacing instead of collapsing */
main .default-content-wrapper br {
  content: '';
  display: block;
  margin-top: 16px;
}
/* buttons */
a.button:any-link,
button {
    box-sizing: border-box;
    display: inline-block;
    max-width: 100%;
    margin: 12px 0;
    border: 2px solid transparent;
    border-radius: 2.4em;
    padding: 0.5em 1.2em;
    font-family: var(--body-font-family);
    font-style: normal;
    font-weight: 500;
    line-height: 1.25;
    text-align: center;
    text-decoration: none;
    background-color: var(--link-color);
    color: var(--background-color);
    cursor: pointer;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin: 0;
}

/* a.button:hover,
a.button:focus,
button:hover,
button:focus {
    background-color: var(--link-hover-color);
    cursor: pointer;
} */

button:disabled,
button:disabled:hover {
    background-color: var(--light-color);
    cursor: unset;
}

a.button.secondary,
button.secondary {
    background-color: unset;
    border: 2px solid currentcolor;
    color: var(--text-color);
}

main img {
    max-width: 100%;
    width: auto;
    height: auto;
}

.icon {
    display: inline-block;
    height: 24px;
    width: 24px;
}

.icon img {
    height: 100%;
    width: 100%;
}
main {
    border-left: 1px solid #d0d0d0;
    border-right: 1px solid #d0d0d0;
    margin: 0 auto;
    max-width: 90pc;
}
/* sections padding and width are defined gloabally ===========================================  */
main > .section {
    margin: 96px auto;
    max-width: 1438px;
    padding: 0 80px;
}
main > .section:last-child{
  margin-bottom: 0;
  padding-bottom: 96px;
}
main > .section.margin-sixty-top-bottom{
  margin: 50px auto;
}
 main > .section.full-width {
        max-width: 100%;
    padding: 0;
}

main > .section:first-of-type {
    margin-top: 0;
}


.section.no-margin-top{
  margin-top: 0;
}
.section.no-margin-bottom{
  margin-bottom: 0;
}
.section.no-margin-top-bottom{
  margin-top: 0;
  margin-bottom: 0;
}
/* By default it is left aligned */
.section.title-heading .default-content-wrapper h2 {
    font-family: Helvetica;
    font-size: 28px;
    font-weight: 700;
    line-height: 120%;
    position: relative;
    margin: 10px 0 45px;
}
.section.title-heading .default-content-wrapper h2:after {
    position: absolute;
    content: "";
    background: linear-gradient(
        90deg,
        #00adef 0,
        #00adef 33%,
        #ffc20e 0,
        #ffc20e 66%,
        #db0011 0,
        #db0011
    );
    height: 0.25rem;
    margin-top: 0.625rem;
    width: 10.5rem;
    left: 0;
        bottom: -15px;
}
.section.text-center .default-content-wrapper h2,
.section.text-center .default-content-wrapper h3,
.section.text-center .default-content-wrapper h4 {
    text-align: center;
}

/* Only center paragraphs when they sit alongside a centered heading */
.section.text-center .default-content-wrapper:has(h1, h2, h3, h4, h5, h6) p {
    text-align: center;
}
.section.title-heading.text-center .default-content-wrapper h2:after{
  bottom: -13px;
left: 50%;
transform: translateX(-50%);
}
.section.disclaimer-text .default-content-wrapper p{ 
    line-height: 16px;
    font-size: 14px;
    padding: 0 22px;
}
/* section metadata */
main .section.light,
main .section.highlight {
    background-color: var(--light-color);
    margin: 0;
    padding: 40px 0;
}

/* Accordion block tweaks moved to block CSS if needed, keeping global styles for now */

/* ===== ARTICLE PAGE STYLES ===== */

/* Narrower article body content */
.article-body > .section > div {
    max-width: 800px;
}

/* Key Takeaways callout box */
main > .section.key-takeaways > .default-content-wrapper {
    border: 1px solid #e0e0e0;
    border-left: 4px solid #f5a623;
    border-radius: 8px;
    padding: 24px 28px;
    background-color: #fffdf7;
}

main > .section.key-takeaways h2 {
    margin-top: 0;
    font-size: 22px;
    border-bottom: none;
}

main > .section.key-takeaways ul {
    margin-top: 0;
}

main > .section.key-takeaways li {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 6px;
}

/* Blockquote - "Did You Know?" callout */
main blockquote {
    background-color: #eef6fb;
    border: none;
    border-left: 4px solid var(--link-color);
    border-radius: 8px;
    padding: 24px 28px;
    margin: 32px 0;
    font-style: normal;
}

/* stylelint-disable-next-line no-descending-specificity */
main blockquote p:first-child {
    font-size: 20px;
    margin-top: 0;
}

/* stylelint-disable-next-line no-descending-specificity */
main blockquote p:last-child {
    font-size: 13px;
    color: #777;
}

/* Glossary section - blue box */
main > .section.glossary > .default-content-wrapper {
    background-color: #eef4fb;
    border-radius: 12px;
    padding: 28px 32px;
}

main > .section.glossary h3 {
    color: var(--link-color);
    position: relative;
    padding-bottom: 12px;
    margin-top: 0;
}

main > .section.glossary h3::after {
    content: "";
    display: block;
    width: 40px;
    height: 3px;
    background-color: var(--link-color);
    margin-top: 8px;
    border-radius: 2px;
}

main > .section.glossary ol {
    padding-left: 20px;
}

main > .section.glossary li {
    margin-bottom: 8px;
    font-size: 15px;
    line-height: 1.6;
}


/* custom text styling written here */

.section.article-overview .default-content-wrapper p strong{
font-size: 20px;
}

/* article meta row: date | views | read time | share */
.section.article-overview .default-content-wrapper ul {
  list-style: none;
  padding: 14px 20px 14px 0;
  margin: 12px 0 24px;
  border-radius: 2px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  font-family: Satoshi, sans-serif;
}

.section.article-overview .default-content-wrapper ul li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 20px;
  color: #7a7a7a;
  font-size: 14px;
  line-height: 1.4;
}
.section.article-overview .default-content-wrapper ul li a{
    text-decoration: none;
    color: #7a7a7a;
}
.section.article-overview .default-content-wrapper ul li:first-child {
  padding-left: 0;
}

.section.article-overview .default-content-wrapper ul li + li {
  border-left: 1px solid #c8c8c8;
}

.section.article-overview .default-content-wrapper ul li::before {
  content: '';
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  background-color: #7a7a7a;
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  -webkit-mask-size: contain;
}

.section.article-overview .default-content-wrapper ul li:nth-child(1)::before {
  mask-image: url('/icons/calendar.svg');
  -webkit-mask-image: url('/icons/calendar.svg');
}

.section.article-overview .default-content-wrapper ul li:nth-child(2)::before {
  mask-image: url('/icons/eye.svg');
  -webkit-mask-image: url('/icons/eye.svg');
}

.section.article-overview .default-content-wrapper ul li:nth-child(3)::before {
  mask-image: url('/icons/clock.svg');
  -webkit-mask-image: url('/icons/clock.svg');
}

.section.article-overview .default-content-wrapper ul li:nth-child(4)::before {
  mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><circle cx='18' cy='5' r='3'/><circle cx='6' cy='12' r='3'/><circle cx='18' cy='19' r='3'/><path d='M8.6 13.5l6.8 4M15.4 6.5l-6.8 4'/></svg>");
  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><circle cx='18' cy='5' r='3'/><circle cx='6' cy='12' r='3'/><circle cx='18' cy='19' r='3'/><path d='M8.6 13.5l6.8 4M15.4 6.5l-6.8 4'/></svg>");
}
.section.default-list .default-content-wrapper ul {
  list-style: none;
  padding: 0;
  /* margin: 0 0 60px; */
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.section.bg-default-list .default-content-wrapper{
      border: 1px solid #00adef;
    border-radius: 1rem;
    display: block;
    overflow: hidden;
    background: #e0f5fd;
    padding: 20px;
}
.section.default-list .default-content-wrapper ul li {
  position: relative;
  padding-left: 32px;
  color: #323232;
  font-family: Satoshi, sans-serif;
  font-size: 16px;
  line-height: 1.55;
}

.section.default-list .default-content-wrapper ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 2px;
  width: 22px;
  height: 22px;
  background: url('/icons/check-circle.svg') no-repeat center / contain;
}
/* heading for core text components */
.section.text-heading .default-content-wrapper h2, 
.section.text-heading .default-content-wrapper h3,
.section.bg-default-list .default-content-wrapper h2,
.section.bg-default-list .default-content-wrapper h3
{
        color: #00adef;
    font-family: Helvetica;
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 120%;
    margin-top: 46px;
}
.section.bg-default-list .default-content-wrapper h2,
.section.bg-default-list .default-content-wrapper h3{
  margin-top: 0;
}
.justify-content-between {
    justify-content: space-between !important;
}
.w-100 {
    width: 100% !important;
}
.h-100 {
    height: 100% !important;
}
.position-absolute {
    position: absolute !important;
}
.object-fit-contain {
    -o-object-fit: contain!important;
    object-fit: contain !important;
}
@media (max-width: 767px) {
    main > .section {
        margin: 72px auto 0;
        padding: 0 20px;
    }
   .section.title-heading .default-content-wrapper h2{
    font-size: 22px;
        margin: 10px 0 35px;
   }

   .section.article-overview .default-content-wrapper ul {
     padding: 0 0 0 25px;
     margin: 10px 0 20px;
        gap: 25px 10px;
   }

   .section.article-overview .default-content-wrapper ul li {
     padding: 0 15px;
     font-size: 14px;
     color: #323232;
   }
.section.article-overview .default-content-wrapper p:first-child{
        padding-left: 23px;
    margin-bottom: 10px;
}
   .section.article-overview .default-content-wrapper ul li::before {
     width: 14px;
     height: 14px;
   }
   .section.article-overview .default-content-wrapper p strong{
    font-size: 14px;
    font-weight: 400;
   }
   .section.text-heading .default-content-wrapper h2,
   .section.bg-default-list .default-content-wrapper h2,
.section.bg-default-list .default-content-wrapper h3{
    font-size: 22px;
   }
   .section.default-list .default-content-wrapper ul li::before, .section.bg-default-list .default-content-wrapper ul li::before{
    width: 15px;
    height: 15px;
            top: 6px;
   }
   .section.default-list .default-content-wrapper ul li{
    padding-left: 28px;
   }
   .section.bg-default-list .default-content-wrapper ul li{
    font-size: 10px;
    padding-left: 28px;
    font-weight: 400;
   }
  }
